Thanks for ideas so far. The grammer I've defined to date is

*#rom* *ID*, *int8* { *int8*, *int8* … }

*#rom* *ID*, *int16* { *int16*, *int16* … }

*#rom* *ID*, "*Quoted text string*"

*#rom* *ID*, """

*Block text a*

*la Python*

"""

*#rom* (*locateLo*|*locateHi*)@*addr*

IDs are general identifers so each rom block can be referred to by the rest 
of the 'C' code. *int8*, *int16,* *locateLo *and *locateHi* are reserved 
words. *int8*, *int16* and *addr *are general 'C' expressions.

I'll certainly make the source available but it's rather specific compared 
to something like M4. What's the best way to do that? it's ~640 lines at 
the moment.

-- 
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ply-hack/790ee177-3522-48ac-867d-d31faf4f5662%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to