As expected, re-implementing in Scheme the ANTLR BNF has been easy so far (it 
was designed to be!).

It current implements many capabilities such as basic indentation, sublist, 
group_splice, abbreviation+hspace, period, and initial indents.  I still have a 
few pieces to do, like scomments, restarts, and FF/VT processing to go, and it 
currently has some debug statements enabled so I can easily watch its progress. 
 Still, it's looking good so far.  The Scheme implementation takes more lines 
than the spec (big surprise), but it is easy to see how the code derives from 
the spec.

You can enable this alternative implementation by doing this:
 make readable/kernel.scm && SWEETNEW="y" ./unsweeten

 --- David A. Wheeler

------------------------------------------------------------------------------
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. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to