The Felix parser can now parse fdoc files and compile the embedded Felix
code directly, with one caveat: the parser recognises:

newline @

as the start of a comment, and

newline @felix white* newline

or

eof

as the end of a comment. Since the parse starts in Felix mode,
it will not parse fdoc files starting with text before the first @command.
Furthermore it doesn't recognise @command at the start of file,
so an initial blank line is required.

Note that at present

        @t

is a possibly null pointer to type t in Felix. Don't write one of these
at the start of a line (or it will trigger the start of an fdoc comment).

As a special exception (read "utter hack") I may make

@h1

trigger a comment -- without a preceding newline.
This will work for many current fdocs. However it will trigger
a comment if you use @h1 anywhere at all in Felix code,
which is a bit nasty .. 

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




------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to