octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Classdef parser patch


From: Ryan Rusaw
Subject: Classdef parser patch
Date: Tue, 28 Apr 2009 21:43:50 -0600

Attached is a first stab at adding the basis for classdef files to the
lexer & the parser. With it the parser should be able to correctly
parse classdef files, although it currently doesn't do anything more
with them, as a number of items are still necessary to complete a
serviceable implementation:

1. +package directory support.
2. classdef support added to pt-* hierarchy.
3. octave_value subclass for classdef objects.
4. integrate with metaclass code, either the code Michael Goffioul
provided previously on the mailing list or something similar.
5. add support for class events.
6. add support for the automatic resolution of class property get & set methods.

Note: I used the Matlab documentation available at
http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/matlab_oop/ug_intropage.html
as the basis for the changes, so it should be as close to complete as
the documentation allowed. If anyone finds something I've missed or
overlooked, please let me know.

Ryan

Attachment: CLASSDEF_PARSER.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]