On Tue, 2007-05-01 at 13:01 -0700, Erick Tryzelaar wrote:
> skaller wrote:

> One smallish thing I'd like to see is that we really do have a ton of 
> keywords, and I don't think all of them are really used. I think we may 
> have 2-3 times as many keywords as the other major languages. Perhaps we 
> could eliminate some.

I am thinking to change all keyword to _keyword.
Then use syntax extension feature of some kind to re-enable them.

So a teacher might conveniently not define goto _goto .. thereby
making it impossible for a dumb student to accidentally use
a goto statement .. :)

However, I'm also looking at dypgen to replace Ocamlyacc.
Dypgen is an *extensible* GLR parser, i.e. it can not only
use GLR grammars, you can dynamically extend them in a scoped
way on the fly.

So for example we might be able to do

        module X {
                statement while expr do statements done #=> ...;
        }

without the current hackery. In particular 

        open X;

could make the syntax extensions available, instead of

        #import <something.flxh>

we have to use now (and which doesn't work so well!)

Changing the packaging system is something to look at,
all the includes and headers etc are too hard -- I can't
get the right myself :)


-- 
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