On Sun, 2007-05-06 at 14:38 -0700, Erick Tryzelaar wrote:

> Could pick one for the default, and then use coercing, like #"\a : 
> char", "#:\w : uchar" for everything else?

Sure, that's possible too .. lots of possibilities.
At present we have an operator that grabs the first char
of a string, which handles all these cases: expensive
at the moment (because the string gets constructed at
run time, just to pull a char out of it).

We probably need a systematic review of features:
strings, 'c' binding things, keywords, grammar .. 

We have 221 tokens, and 233 non-terminals.
Ocaml has a limit of 246 constructors with arguments per type.
I tried building a dypgen parser and it makes a variant
with tokens+non-terminals constructors .. breaking Ocaml
limit.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to