]>
git.lizzy.rs Git - metalua.git/log
unknown [Thu, 4 Dec 2008 18:55:29 +0000 (19:55 +0100)]
doesn't fail when springs coudln't be loaded
unknown [Thu, 4 Dec 2008 15:04:14 +0000 (16:04 +0100)]
moved metalua related libraries into package metalua.*
unknown [Thu, 4 Dec 2008 14:53:14 +0000 (15:53 +0100)]
fixing CRLF
Fabien Fleutot [Mon, 1 Dec 2008 21:19:07 +0000 (22:19 +0100)]
variable capture bug in match extension
Fabien Fleutot [Sat, 29 Nov 2008 12:47:37 +0000 (13:47 +0100)]
commenting and cleaning up synth.mlua
Fabien Fleutot [Sat, 29 Nov 2008 12:32:40 +0000 (13:32 +0100)]
comment cleanup in synth.mlua
Fabien Fleutot [Sat, 29 Nov 2008 12:05:24 +0000 (13:05 +0100)]
commenting and cleaning up synth.mlua
fabien [Fri, 28 Nov 2008 18:26:37 +0000 (19:26 +0100)]
new samples: synthesis of source file from an AST, weaving sources and bits of generated AST together
Fabien Fleutot [Thu, 27 Nov 2008 23:58:12 +0000 (00:58 +0100)]
missing lineinfo from gg.onkeyword() and for "|x| y" syntax
Fabien Fleutot [Thu, 27 Nov 2008 21:31:30 +0000 (22:31 +0100)]
missing lineinfo for "for var in ... end" when there is exaclty one variable before "in"
Fabien Fleutot [Thu, 27 Nov 2008 21:29:27 +0000 (22:29 +0100)]
Merge branch 'master' of ssh://repo.or.cz/srv/git/metalua
fabien [Thu, 27 Nov 2008 20:26:20 +0000 (21:26 +0100)]
bad lineinfo for suffix expression parsers produced with gg.expr()
Fabien Fleutot [Sun, 2 Nov 2008 23:17:15 +0000 (00:17 +0100)]
fixed incorrect behavior for loadstring() and loadfile() when metalua.compiler is required
fabien [Fri, 3 Oct 2008 13:48:43 +0000 (15:48 +0200)]
tweaked the code of table.tostring() do that it can be used immediatelly in plain Lua
Fabien Fleutot [Tue, 30 Sep 2008 20:16:35 +0000 (22:16 +0200)]
Fixed a but in table.tostring()'s identifier regexp (EVE)
fabien [Tue, 30 Sep 2008 15:31:08 +0000 (17:31 +0200)]
metalua toplevel: option -A now uses fixed indentation in table.tostring(), since it tends to print huge tables due to lineinfo, and fixed indentation is more space-savvy than the default indentation mode.
fabien [Tue, 30 Sep 2008 15:29:18 +0000 (17:29 +0200)]
Big table.tostring() overhaul: removed some dead cruft (new_indent...) and added some features: (1) option "notag" gets "tag" field to be treated as a regular field, i.e. tables are printed the Lua way, rather than the "`Sometag{ ... }" Metalua way; (2) option "indentN" with N a number will indent tables by a fixed amount of N spaces, instead of aligning siblings together; if N is omitted, it defaults to 3.
fabien [Tue, 30 Sep 2008 15:24:16 +0000 (17:24 +0200)]
added pretty printer to lexer tokens, and immediately disabled it because it prevents AST from passing through Pluto
Fabien Fleutot [Sun, 14 Sep 2008 21:21:21 +0000 (23:21 +0200)]
bad lineinfo for infix operators in gg
Fabien Fleutot [Sun, 14 Sep 2008 17:33:59 +0000 (19:33 +0200)]
lineinfo missing in "local func" and in ~= operator
Fabien Fleutot [Sun, 14 Sep 2008 12:07:41 +0000 (14:07 +0200)]
fixed some missing lineinfo in mlp
Fabien Fleutot [Sat, 13 Sep 2008 10:57:46 +0000 (12:57 +0200)]
A different approach to comments attachement
Fabien Fleutot [Sat, 13 Sep 2008 09:29:50 +0000 (11:29 +0200)]
comments were accidentally stripped from tokens by gg transform()
Fabien Fleutot [Sat, 13 Sep 2008 08:53:11 +0000 (10:53 +0200)]
literal parsing bug
fabien [Fri, 12 Sep 2008 14:04:40 +0000 (16:04 +0200)]
Added filename reference in lineinfo, fixed positions reporting
fabien [Fri, 12 Sep 2008 14:03:49 +0000 (16:03 +0200)]
noted strange use of new_indent in table.tostring()
fabien [Fri, 12 Sep 2008 09:26:41 +0000 (11:26 +0200)]
fixed a bug in ifexpr sample
fabien [Thu, 11 Sep 2008 17:46:40 +0000 (19:46 +0200)]
fixed comment integration in AST lineinfo
fabien [Thu, 11 Sep 2008 08:03:30 +0000 (10:03 +0200)]
added option in metalua to print lineinfo together with AST
fabien [Thu, 11 Sep 2008 07:38:53 +0000 (09:38 +0200)]
fixed the unescaping of string literals
fabien [Wed, 10 Sep 2008 18:30:13 +0000 (20:30 +0200)]
fixed the parsing of return statements: they wouldn't accept the semicolon in 'return;'
fabien [Wed, 10 Sep 2008 18:19:39 +0000 (20:19 +0200)]
fixed error position reporting in mlc.mlua
fabien [Wed, 10 Sep 2008 18:18:54 +0000 (20:18 +0200)]
handle initial shebang comments in chunks
fabien [Wed, 10 Sep 2008 18:18:00 +0000 (20:18 +0200)]
fixed a bug in lexer:sync()
fabien [Wed, 10 Sep 2008 18:00:36 +0000 (20:00 +0200)]
Lexer fixes from A. Gladysh: escaping chars in strings properly, parsing hex numbers
fabien [Wed, 10 Sep 2008 16:49:31 +0000 (18:49 +0200)]
Redid the lineinfo handling.
Now every piece of AST has got a lineinfo field, with two sub-fields first and last, holding a position in source
represented as 3 numbers:
- line number
- column number (i.e. number of chars wince last '\n')
- character number, since beginning of file.
lineinfo fields are automatically added by gg in gg generated parsers, after the application of transformer functions.
They're also added in every token generated by lexer.
Fabien Fleutot [Tue, 8 Apr 2008 20:57:35 +0000 (22:57 +0200)]
added autolocal feature to metalint
fft [Thu, 3 Apr 2008 19:07:49 +0000 (21:07 +0200)]
typo fixes
fft [Thu, 3 Apr 2008 19:06:30 +0000 (21:06 +0200)]
introducing metalint
Fabien Fleutot [Fri, 29 Feb 2008 20:27:08 +0000 (21:27 +0100)]
improved match/types, started typecheck, misc.
Fabien Fleutot [Wed, 27 Feb 2008 19:15:32 +0000 (20:15 +0100)]
fixed trycatch
Fabien Fleutot [Tue, 26 Feb 2008 21:33:05 +0000 (22:33 +0100)]
xloop and xmatch fixes
Fabien Fleutot [Fri, 22 Feb 2008 00:13:54 +0000 (01:13 +0100)]
fixed xmatch and xloop
Fabien Fleutot [Thu, 21 Feb 2008 08:02:37 +0000 (09:02 +0100)]
introduce xloop extended loops
Fabien Fleutot [Wed, 20 Feb 2008 20:37:45 +0000 (21:37 +0100)]
introduce xmatch, the extended match library: destructuring binders, syntax suger for match functions, match expressions.
Fabien Fleutot [Mon, 18 Feb 2008 18:52:26 +0000 (19:52 +0100)]
misc.
Fabien Fleutot [Mon, 18 Feb 2008 18:52:07 +0000 (19:52 +0100)]
misc.
Fabien Fleutot [Mon, 18 Feb 2008 18:50:25 +0000 (19:50 +0100)]
compatibility with integral-variants of Lua VMs
Fabien Fleutot [Mon, 18 Feb 2008 18:49:13 +0000 (19:49 +0100)]
added destructuring set extension
Fabien Fleutot [Mon, 18 Feb 2008 18:48:34 +0000 (19:48 +0100)]
updated trycatch to work with new match, new catch...then syntax
Fabien Fleutot [Mon, 18 Feb 2008 18:48:01 +0000 (19:48 +0100)]
updated trycatch to work with new match, new catch...then syntax
Fabien Fleutot [Thu, 14 Feb 2008 22:43:00 +0000 (23:43 +0100)]
0.4.1-rc1
Fabien Fleutot [Thu, 14 Feb 2008 21:09:04 +0000 (22:09 +0100)]
added 64 bits and openBSD compatibility
Fabien Fleutot [Thu, 14 Feb 2008 21:08:29 +0000 (22:08 +0100)]
updated MSVC build
Fabien Fleutot [Thu, 14 Feb 2008 08:53:59 +0000 (09:53 +0100)]
Towards 0.4.1: lua-5.1.3, pluto-2.2, 64 bits compatible dumper...
Fabien Fleutot [Tue, 12 Feb 2008 23:08:06 +0000 (00:08 +0100)]
misc.
Fabien Fleutot [Tue, 12 Feb 2008 23:07:53 +0000 (00:07 +0100)]
added REPL loop and editline support
Fabien Fleutot [Tue, 12 Feb 2008 23:05:42 +0000 (00:05 +0100)]
fixed iall and iany in table2
Fabien Fleutot [Fri, 8 Feb 2008 21:27:31 +0000 (22:27 +0100)]
fixing the merge.
Fabien Fleutot [Fri, 8 Feb 2008 19:49:12 +0000 (20:49 +0100)]
I still suck at merging :(
Fabien Fleutot [Fri, 8 Feb 2008 19:34:18 +0000 (20:34 +0100)]
Merge branch 'eve-runtime-debug'
Fabien Fleutot [Fri, 8 Feb 2008 19:33:31 +0000 (20:33 +0100)]
typos in doc + removing useless win32 cruft
Fabien Fleutot [Fri, 8 Feb 2008 19:32:44 +0000 (20:32 +0100)]
typos in doc + removing useless win32 cruft
Fabien Fleutot [Fri, 8 Feb 2008 08:26:08 +0000 (09:26 +0100)]
0.4-rc2
Fabien Fleutot [Thu, 7 Feb 2008 07:25:50 +0000 (08:25 +0100)]
fixed LUA_MFAST
Fabien Fleutot [Thu, 7 Feb 2008 07:09:20 +0000 (08:09 +0100)]
fixing linux/cygwin build, work in progress
Fabien Fleutot [Wed, 6 Feb 2008 22:10:13 +0000 (23:10 +0100)]
Final cleanup for v0.4, fix in win32 building script, merge with linux build process.
Fabien Fleutot [Wed, 6 Feb 2008 08:57:20 +0000 (09:57 +0100)]
Cleanups towards v0.4
Fabien Fleutot [Wed, 6 Feb 2008 08:56:40 +0000 (09:56 +0100)]
doc fixes
Fabien Fleutot [Wed, 6 Feb 2008 08:55:04 +0000 (09:55 +0100)]
handled hygiene manually in try/catch extension
Fabien Fleutot [Sun, 3 Feb 2008 12:41:14 +0000 (13:41 +0100)]
H: fixed the creation of H.alpha
Fabien Fleutot [Sun, 3 Feb 2008 12:18:24 +0000 (13:18 +0100)]
walk now also accepts `Local nodes without rhs
Fabien Fleutot [Sun, 3 Feb 2008 12:17:46 +0000 (13:17 +0100)]
match extension hygienized wrt global function type()
Fabien Fleutot [Sun, 3 Feb 2008 11:52:42 +0000 (12:52 +0100)]
Comiler now accept `Local{ {lhs} } nodes without a rhs part.
Fabien Fleutot [Fri, 1 Feb 2008 08:55:06 +0000 (09:55 +0100)]
working on H:
allowed to create several hygienizers; found a serious issue with withdo hygienization.
Fabien Fleutot [Thu, 31 Jan 2008 08:24:30 +0000 (09:24 +0100)]
introduce RAII extension
Fabien Fleutot [Wed, 30 Jan 2008 20:20:42 +0000 (21:20 +0100)]
Builds on win32 with MS Visual Studio, through an ugly-ass .bat script, and by linking plutot statically in the lua DLL.
Fabien Fleutot [Tue, 29 Jan 2008 21:22:19 +0000 (22:22 +0100)]
simplified the extension loading mechanism, fixed a bug in the main executable.
It's now up to the compile-time extension code to return a 'require'
instruction AST if it needs a runtime part. By convention, runtime
parts are in the lib/extension directory, with the same name as their
compile-time counterparts suffixed with "-runtime".
In the metalua executable, the files where compiled into functions to
isolate their respective fenvs. This prevented them from returning
values, which was an issue for requirable modules. Fixed: the last
file's AST is inserted into a `Return{ }. Maybe this should be done to
the last chunk, irrespective of its origin?
Fabien Fleutot [Sun, 27 Jan 2008 20:01:59 +0000 (21:01 +0100)]
imported preliminary version of AST->src dumper lib
Fabien Fleutot [Sun, 27 Jan 2008 20:01:26 +0000 (21:01 +0100)]
minor stuff
Fabien Fleutot [Sun, 27 Jan 2008 20:00:15 +0000 (21:00 +0100)]
makefile fixes
Fabien Fleutot [Sun, 27 Jan 2008 19:59:43 +0000 (20:59 +0100)]
minor stuff
Fabien Fleutot [Sun, 27 Jan 2008 19:57:06 +0000 (20:57 +0100)]
fixed bug in `Stat{ } scoping by walk.id
Fabien Fleutot [Sun, 27 Jan 2008 19:56:29 +0000 (20:56 +0100)]
better error msg when walking malformed trees
Fabien Fleutot [Sun, 27 Jan 2008 19:55:26 +0000 (20:55 +0100)]
going on with H
Fabien Fleutot [Sun, 27 Jan 2008 19:54:00 +0000 (20:54 +0100)]
dollar lib now registers macros in table "dollar"
Fabien Fleutot [Sun, 27 Jan 2008 19:53:06 +0000 (20:53 +0100)]
manual update
Fabien Fleutot [Fri, 25 Jan 2008 09:13:47 +0000 (10:13 +0100)]
manual page width reduced
Fabien Fleutot [Fri, 25 Jan 2008 08:56:29 +0000 (09:56 +0100)]
hygienic macros, take two: H{ }+{ } and -{! }
Fabien Fleutot [Fri, 25 Jan 2008 08:52:15 +0000 (09:52 +0100)]
manual: document some standard exts and libs
Fabien Fleutot [Thu, 24 Jan 2008 08:37:50 +0000 (09:37 +0100)]
work on trycatch
Fabien Fleutot [Thu, 24 Jan 2008 08:36:58 +0000 (09:36 +0100)]
work on quote hygienizer
Fabien Fleutot [Thu, 24 Jan 2008 08:36:12 +0000 (09:36 +0100)]
introduced quote hygienizer
Fabien Fleutot [Thu, 24 Jan 2008 08:31:31 +0000 (09:31 +0100)]
impproved makefile
Fabien Fleutot [Thu, 24 Jan 2008 08:30:53 +0000 (09:30 +0100)]
added log extension
Fabien Fleutot [Thu, 24 Jan 2008 08:29:54 +0000 (09:29 +0100)]
impproved makefile
Fabien Fleutot [Wed, 23 Jan 2008 07:59:58 +0000 (08:59 +0100)]
bug in traycatch return walker
Fabien Fleutot [Tue, 22 Jan 2008 22:48:18 +0000 (23:48 +0100)]
added a try...catch...with extension
Fabien Fleutot [Mon, 21 Jan 2008 21:35:16 +0000 (22:35 +0100)]
EVE patch for line number reporting on runtime errors
Fabien Fleutot [Mon, 21 Jan 2008 09:03:49 +0000 (10:03 +0100)]
improved global declarations + minor stuff