skaller wrote: > Which would you remove? Look in config/flx_data.py. > > Users can always obey the convention of names like > > Fred // starts with upper case > fred_nurk // embedded _ > > which should reduce conflicts. >
What would that be equivalent to in the current syntax? Here's my list of things we could change: 1. There's a lot of code commenting keywords that we could do away with, like "comment", "todo", and "publish", although I think publish is supposed to be like python docstrings. If that is the case, I'd prefer it to be named just "docstring" as publish is a much more common function name. 2. I'm not sure if this is LALR, but it'd be nice if we just had one terminator for all of our "endcase", "endif", and "endmatch" constructs. What if we just replaced them all with "end"? I do like "do"-"done", and I'd like to raise that up to roughly equal "begin"-"end" from ocaml. 3. It'd be nice if pattern matching with the keyword "match" could take over for "regmatch" and "typematch". I'm sure that would take some effort though. 4. "isinf" and "NaN" should be removed, and replaced with a function / constant. 5. I'm not sure what "compound", "fork", "halt", "incomplete" and "loop" do. 6. Typeclass "virtual" really should be removed and replaced with just the function definition :) If we ever do traditional class inheritance though, we can add it back. 7. I don't think "functor" and "inherit" are implemented yet. They could be removed, and another check later could error out if you're using a reserved word like these. 8. We have a lot of c wrapping keywords, "cclass", "cfun", "cparse", "cproc", "cstruct", and "ctypes". Perhaps we could replace all of these with just a prefix keyword like "cwrap" which you could use like "cwrap class", "cwrap fun" and etc. I'm not crazy about that particular name though. ------------------------------------------------------------------------- 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