Fleutot
Fleutot
tu peux essayer avec ca dans lexer.ml? function M.skip_initial_sharp_comment (lx) -- Dirty hack: I'm happily fondling lexer's private parts -- FIXME: redundant with lexer:newstream() lx :sync() local i = lx.src:match...
I plan to overhaul this in the repackaging branch, together with cutting metalua into independent libs. On Wed, Jan 25, 2012 at 8:41 AM, David Manura < [email protected] > wrote:...
Thanks, I need to review this more carefully. The generic idea is that walk proved unpracticall to use, so I wish to mostly deprecate it and encourage people to use...
Already fixed in the (unreleased yet) 0.7.3 rockspec.
It's not as simple: we'd like to make `checks` optional, because as a C package, it's annoying to pack and release under Win32. We're going to fix the code so...
The design principle is that semantics (stuff the compiler cares about) are in the AST, and presentation details (comments, single or double quotes on strings, syntax sugar on table keys...
PS: to be clear, I think the use cases you're considering are perfectly legitimate, and Metalua should offer an adequate API to address them. Actually, several of those use cases...
The proper way to address this is through a sample which pretty-prints the AST corresponding to any given code fragment. But it would force to embed more dependencies (at least...
Added a pretty-printing library, for proper rendering of ASTs. I think it's arguably one of the basic tools needed for AST manipulations. I Will document & port unit tests, create...
You know the http client syndrome? The simpler a task seems, the more its implementation attempts suck in practice. Last time I checked, no pretty printer handled cycles, line returns,...