Hi William,
It does work now and with your explanation and the syntax diagram, it
becomes fun to play with this :) I like these kind of puzzels!
And indeed, there is probably much work to do to get all code of
jallib parsed without errors. Did you think about case-sensetivity
yet? And about actual execute include while you are parsing?
I adapted proc_def so it supports no '()", and just '()' without
params. Also, statement is optional (it is allowed to create a
procedure with empty body). The new code is:
proc_def : 'procedure' IDENTIFIER ( '(' ( proc_parm (',' proc_parm)*
)? ')' )? 'is'
statement*
'end' 'procedure'
;
If you think it is okay, a similar change to function is apporiate
(which also needs the return bit).
Is this (mailing you the changed code) a convenient way for feedback?
Or maybe put it under svn?
Joep
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.