At present Felix uses two extensions:

*.flxh: grammar files, macros
*.flx: everything else

The problem with this is the same as in C and C++: one can't "autodetect" what 
to compile
as programs and what is a library or support module.

Felix does make the distinction for C++:

        *.cxx:  a program
        *.cpp: a library file

Python has the same problem: *.py for both programs and modules.

I would like to fix this, before it is WAY too late.
Suggestions other than mine WELCOME!!!

Note: Felix doesn't, as yet, have real libraries, i.e. a code organisation
for libraries. Python has packages. The idea is good IMHO.

Anyhow:

        *.flxh: header, grammar, macros
        *.flxl: library
        *.flxp: program

Note: Python (and some other languages) do a trick, where you can put test code
(as well as documentation) into libraries.

I'm not sure that's a good idea. Also not sure if another approach to above is 
more "literate programmy .." i.e. *fdocs or something that package up 
description
code and test cases.

--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to