]> git.lizzy.rs Git - metalua.git/log
metalua.git
15 years agoMerge branch 'master' of git@github.com:fab13n/metalua into cleanup
Fabien Fleutot [Tue, 3 Feb 2009 07:20:48 +0000 (08:20 +0100)]
Merge branch 'master' of git@github.com:fab13n/metalua into cleanup

15 years agoMerge branch 'ag-fixes' of git://github.com/agladysh/metalua
Fabien Fleutot [Mon, 2 Feb 2009 20:29:08 +0000 (21:29 +0100)]
Merge branch 'ag-fixes' of git://github.com/agladysh/metalua

15 years agowalk_id_test sample fix
Fabien Fleutot [Mon, 2 Feb 2009 20:18:45 +0000 (21:18 +0100)]
walk_id_test sample fix

15 years agomerging trycatch fix
Fabien Fleutot [Mon, 2 Feb 2009 20:08:20 +0000 (21:08 +0100)]
merging trycatch fix

15 years agofixed trycatch
Fabien Fleutot [Mon, 2 Feb 2009 20:03:15 +0000 (21:03 +0100)]
fixed trycatch

15 years agoIPC communication between processes through tmp files: avoids interferences caused...
unknown [Mon, 2 Feb 2009 18:00:25 +0000 (19:00 +0100)]
IPC communication between processes through tmp files: avoids interferences caused by print() when using stdout as a channel

15 years agofixed clist extension
Fabien Fleutot [Sun, 1 Feb 2009 20:25:17 +0000 (21:25 +0100)]
fixed clist extension

15 years agocleanup in mlp, a couple of relevant entries made public
Fabien Fleutot [Sat, 31 Jan 2009 11:42:33 +0000 (12:42 +0100)]
cleanup in mlp, a couple of relevant entries made public

15 years agosupport for ast->src translation in lib and metalua executable
Fabien Fleutot [Thu, 29 Jan 2009 20:48:49 +0000 (21:48 +0100)]
support for ast->src translation in lib and metalua executable

15 years agominor lexer cleanup
Fabien Fleutot [Thu, 29 Jan 2009 20:47:23 +0000 (21:47 +0100)]
minor lexer cleanup

15 years agomore permissive multisequence:add() definition in gg
Fabien Fleutot [Thu, 29 Jan 2009 20:46:32 +0000 (21:46 +0100)]
more permissive multisequence:add() definition in gg

15 years agoweaver sample: removing shadow nodes from the ast
Alexander Gladysh [Sun, 25 Jan 2009 16:05:21 +0000 (19:05 +0300)]
weaver sample: removing shadow nodes from the ast

Fix by Fabien

15 years agoweaver sample: sorting ast children in appearance order
Alexander Gladysh [Sun, 25 Jan 2009 16:04:11 +0000 (19:04 +0300)]
weaver sample: sorting ast children in appearance order

Fix by Fabien. This fixes ">" and ">=" node duplication on weaving

15 years agoweaver sample: normalizing lineinfo first/last positions
Alexander Gladysh [Sun, 25 Jan 2009 16:02:16 +0000 (19:02 +0300)]
weaver sample: normalizing lineinfo first/last positions

If first is after the last, swap them. This fixes extra spaces bug.

15 years agoweaver sample: `Do{ } blocks fix; handling comments around AST
Alexander Gladysh [Sat, 24 Jan 2009 23:12:46 +0000 (02:12 +0300)]
weaver sample: `Do{ } blocks fix; handling comments around AST

Slightly modified fix by Fabien

15 years agoweaver sample: not dumping empty ast nodes
Alexander Gladysh [Sat, 24 Jan 2009 22:21:53 +0000 (01:21 +0300)]
weaver sample: not dumping empty ast nodes

15 years agohandling io.open() errors in weaver sample
Alexander Gladysh [Sat, 24 Jan 2009 22:21:24 +0000 (01:21 +0300)]
handling io.open() errors in weaver sample

15 years agoadded sharpbang directive to make.sh
Alexander Gladysh [Thu, 22 Jan 2009 06:24:07 +0000 (09:24 +0300)]
added sharpbang directive to make.sh

15 years agofixed require in synth sample
Alexander Gladysh [Thu, 22 Jan 2009 06:19:33 +0000 (09:19 +0300)]
fixed require in synth sample

15 years agoremoved make-install.sh from source control
Alexander Gladysh [Mon, 19 Jan 2009 19:00:36 +0000 (22:00 +0300)]
removed make-install.sh from source control

So there would be no modified files after build is done

Signed-off-by: Alexander Gladysh <agladysh@gmail.com>
15 years agoconfigurable installation and build paths
Alexander Gladysh [Mon, 19 Jan 2009 18:58:18 +0000 (21:58 +0300)]
configurable installation and build paths

For example:

    $ INSTALL_BIN=/usr/local/bin INSTALL_LIB=/usr/local/lib/lua/5.1 ./make.sh

Signed-off-by: Alexander Gladysh <agladysh@gmail.com>
15 years agofix in the string lexer: interaction between numeric escape ssequences and multiple...
unknown [Wed, 21 Jan 2009 10:34:25 +0000 (11:34 +0100)]
fix in the string lexer: interaction between numeric escape ssequences and multiple backslashes

15 years agohandling of string escape sequences in the lexer: not being fooled by double-backslas...
unknown [Wed, 21 Jan 2009 09:57:26 +0000 (10:57 +0100)]
handling of string escape sequences in the lexer: not being fooled by double-backslash-then-digits, and produce a clearer message when an ASCII code beyond 255 is requested

15 years agofixes in the weaver sample
unknown [Wed, 21 Jan 2009 09:34:58 +0000 (10:34 +0100)]
fixes in the weaver sample

15 years agofix in the unix make script, useless trace removed from match, added win32 binaries...
unknown [Mon, 19 Jan 2009 19:33:04 +0000 (20:33 +0100)]
fix in the unix make script, useless trace removed from match, added win32 binaries (in the wrong place!)

15 years agoCRLF goo, again
unknown [Mon, 19 Jan 2009 17:24:22 +0000 (18:24 +0100)]
CRLF goo, again

15 years agoCRLF issue with gg.
Fabien Fleutot [Sat, 27 Dec 2008 07:44:44 +0000 (08:44 +0100)]
CRLF issue with gg.

15 years agocleaner generation scripts
Fabien Fleutot [Fri, 26 Dec 2008 19:31:52 +0000 (20:31 +0100)]
cleaner generation scripts

15 years agorewrote the build and install system, tested on linux and windows
unknown [Fri, 26 Dec 2008 15:57:26 +0000 (16:57 +0100)]
rewrote the build and install system, tested on linux and windows

15 years agorewrote the build and install system, tested on linux and windows
unknown [Fri, 26 Dec 2008 15:41:05 +0000 (16:41 +0100)]
rewrote the build and install system, tested on linux and windows

15 years agoCRLF fsckup
unknown [Fri, 26 Dec 2008 10:25:27 +0000 (11:25 +0100)]
CRLF fsckup

15 years ago... now captures what it matches in patterns, and can be used to render it on the...
Fabien Fleutot [Thu, 25 Dec 2008 18:36:47 +0000 (19:36 +0100)]
... now captures what it matches in patterns, and can be used to render it on the RHS of a case

15 years agofixed a bug in match statements with multiple cases and var bindings shared among...
Fabien Fleutot [Thu, 25 Dec 2008 14:32:45 +0000 (15:32 +0100)]
fixed a bug in match statements with multiple cases and var bindings shared among multiple cases. For instance, "match `X 1 with `Y{a} | `X{a} -> assert true end" would break due to instances of "a" in both alternatives

15 years agominor variable renamings
Fabien Fleutot [Thu, 25 Dec 2008 13:33:56 +0000 (14:33 +0100)]
minor variable renamings

15 years agoadded eprintf() to bas lib, formatted printing to stderr
Fabien Fleutot [Thu, 25 Dec 2008 13:32:50 +0000 (14:32 +0100)]
added eprintf() to bas lib, formatted printing to stderr

15 years agofixes in extension libs
Fabien Fleutot [Thu, 25 Dec 2008 13:30:55 +0000 (14:30 +0100)]
fixes in extension libs

15 years agofixes on the compilation process separation through io.popen()
Fabien Fleutot [Thu, 25 Dec 2008 12:15:22 +0000 (13:15 +0100)]
fixes on the compilation process separation through io.popen()

15 years agoMerge branch 'no-dll' of git@github.com:fab13n/metalua
Fabien Fleutot [Thu, 25 Dec 2008 11:19:44 +0000 (12:19 +0100)]
Merge branch 'no-dll' of git@github.com:fab13n/metalua

15 years agoserialize now handles arbitrary recursions
unknown [Tue, 23 Dec 2008 12:28:57 +0000 (13:28 +0100)]
serialize now handles arbitrary recursions

15 years agoimprovements in serialize suggested by D. Manura
unknown [Tue, 23 Dec 2008 09:41:32 +0000 (10:41 +0100)]
improvements in serialize suggested by D. Manura

15 years agobetter runtime error msg qhen running a program with metalua
Fabien Fleutot [Thu, 18 Dec 2008 19:40:02 +0000 (20:40 +0100)]
better runtime error msg qhen running a program with metalua

15 years agochanged package loader and metalua compiler: instead of running compilations in separ...
unknown [Thu, 18 Dec 2008 14:45:12 +0000 (15:45 +0100)]
changed package loader and metalua compiler: instead of running compilations in separate sping states, it launches them as separate processes

15 years agoimproved serialize: wont choke on the limitation to 200 local vars per function
unknown [Thu, 18 Dec 2008 14:43:00 +0000 (15:43 +0100)]
improved serialize: wont choke on the limitation to 200 local vars per function

15 years agofirst version of table source serializer
unknown [Thu, 18 Dec 2008 12:21:23 +0000 (13:21 +0100)]
first version of table source serializer

15 years agofix CRLF
unknown [Wed, 17 Dec 2008 10:04:24 +0000 (11:04 +0100)]
fix CRLF

15 years agobetter rendering of strings by table.tostring() and table.print()
unknown [Wed, 17 Dec 2008 10:00:22 +0000 (11:00 +0100)]
better rendering of strings by table.tostring() and table.print()

15 years agodoesn't fail when springs coudln't be loaded
unknown [Thu, 4 Dec 2008 18:55:29 +0000 (19:55 +0100)]
doesn't fail when springs coudln't be loaded

15 years agomoved metalua related libraries into package metalua.*
unknown [Thu, 4 Dec 2008 15:04:14 +0000 (16:04 +0100)]
moved metalua related libraries into package metalua.*

15 years agofixing CRLF
unknown [Thu, 4 Dec 2008 14:53:14 +0000 (15:53 +0100)]
fixing CRLF

15 years agovariable capture bug in match extension
Fabien Fleutot [Mon, 1 Dec 2008 21:19:07 +0000 (22:19 +0100)]
variable capture bug in match extension

15 years agocommenting and cleaning up synth.mlua
Fabien Fleutot [Sat, 29 Nov 2008 12:47:37 +0000 (13:47 +0100)]
commenting and cleaning up synth.mlua

15 years agocomment cleanup in synth.mlua
Fabien Fleutot [Sat, 29 Nov 2008 12:32:40 +0000 (13:32 +0100)]
comment cleanup in synth.mlua

15 years agocommenting and cleaning up synth.mlua
Fabien Fleutot [Sat, 29 Nov 2008 12:05:24 +0000 (13:05 +0100)]
commenting and cleaning up synth.mlua

15 years agonew samples: synthesis of source file from an AST, weaving sources and bits of genera...
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

15 years agomissing lineinfo from gg.onkeyword() and for "|x| y" syntax
Fabien Fleutot [Thu, 27 Nov 2008 23:58:12 +0000 (00:58 +0100)]
missing lineinfo from gg.onkeyword() and for "|x| y" syntax

15 years agomissing lineinfo for "for var in ... end" when there is exaclty one variable before...
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"

15 years agoMerge branch 'master' of ssh://repo.or.cz/srv/git/metalua
Fabien Fleutot [Thu, 27 Nov 2008 21:29:27 +0000 (22:29 +0100)]
Merge branch 'master' of ssh://repo.or.cz/srv/git/metalua

15 years agobad lineinfo for suffix expression parsers produced with gg.expr()
fabien [Thu, 27 Nov 2008 20:26:20 +0000 (21:26 +0100)]
bad lineinfo for suffix expression parsers produced with gg.expr()

15 years agofixed incorrect behavior for loadstring() and loadfile() when metalua.compiler is...
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

15 years agotweaked the code of table.tostring() do that it can be used immediatelly in plain Lua
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

15 years agoFixed a but in table.tostring()'s identifier regexp (EVE)
Fabien Fleutot [Tue, 30 Sep 2008 20:16:35 +0000 (22:16 +0200)]
Fixed a but in table.tostring()'s identifier regexp (EVE)

15 years agometalua toplevel: option -A now uses fixed indentation in table.tostring(), since...
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.

15 years agoBig table.tostring() overhaul: removed some dead cruft (new_indent...) and added...
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.

15 years agoadded pretty printer to lexer tokens, and immediately disabled it because it prevents...
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

15 years agobad lineinfo for infix operators in gg
Fabien Fleutot [Sun, 14 Sep 2008 21:21:21 +0000 (23:21 +0200)]
bad lineinfo for infix operators in gg

15 years agolineinfo missing in "local func" and in ~= operator
Fabien Fleutot [Sun, 14 Sep 2008 17:33:59 +0000 (19:33 +0200)]
lineinfo missing in "local func" and in ~= operator

15 years agofixed some missing lineinfo in mlp
Fabien Fleutot [Sun, 14 Sep 2008 12:07:41 +0000 (14:07 +0200)]
fixed some missing lineinfo in mlp

15 years agoA different approach to comments attachement
Fabien Fleutot [Sat, 13 Sep 2008 10:57:46 +0000 (12:57 +0200)]
A different approach to comments attachement

15 years agocomments were accidentally stripped from tokens by gg transform()
Fabien Fleutot [Sat, 13 Sep 2008 09:29:50 +0000 (11:29 +0200)]
comments were accidentally stripped from tokens by gg transform()

15 years agoliteral parsing bug
Fabien Fleutot [Sat, 13 Sep 2008 08:53:11 +0000 (10:53 +0200)]
literal parsing bug

15 years agoAdded filename reference in lineinfo, fixed positions reporting
fabien [Fri, 12 Sep 2008 14:04:40 +0000 (16:04 +0200)]
Added filename reference in lineinfo, fixed positions reporting

15 years agonoted strange use of new_indent in table.tostring()
fabien [Fri, 12 Sep 2008 14:03:49 +0000 (16:03 +0200)]
noted strange use of new_indent in table.tostring()

15 years agofixed a bug in ifexpr sample
fabien [Fri, 12 Sep 2008 09:26:41 +0000 (11:26 +0200)]
fixed a bug in ifexpr sample

15 years agofixed comment integration in AST lineinfo
fabien [Thu, 11 Sep 2008 17:46:40 +0000 (19:46 +0200)]
fixed comment integration in AST lineinfo

15 years agoadded option in metalua to print lineinfo together with AST
fabien [Thu, 11 Sep 2008 08:03:30 +0000 (10:03 +0200)]
added option in metalua to print lineinfo together with AST

15 years agofixed the unescaping of string literals
fabien [Thu, 11 Sep 2008 07:38:53 +0000 (09:38 +0200)]
fixed the unescaping of string literals

15 years agofixed the parsing of return statements: they wouldn't accept the semicolon in 'return;'
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;'

15 years agofixed error position reporting in mlc.mlua
fabien [Wed, 10 Sep 2008 18:19:39 +0000 (20:19 +0200)]
fixed error position reporting in mlc.mlua

15 years agohandle initial shebang comments in chunks
fabien [Wed, 10 Sep 2008 18:18:54 +0000 (20:18 +0200)]
handle initial shebang comments in chunks

15 years agofixed a bug in lexer:sync()
fabien [Wed, 10 Sep 2008 18:18:00 +0000 (20:18 +0200)]
fixed a bug in lexer:sync()

15 years agoLexer fixes from A. Gladysh: escaping chars in strings properly, parsing hex numbers
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

15 years agoRedid the lineinfo handling.
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.

16 years agoadded autolocal feature to metalint
Fabien Fleutot [Tue, 8 Apr 2008 20:57:35 +0000 (22:57 +0200)]
added autolocal feature to metalint

16 years agotypo fixes
fft [Thu, 3 Apr 2008 19:07:49 +0000 (21:07 +0200)]
typo fixes

16 years agointroducing metalint
fft [Thu, 3 Apr 2008 19:06:30 +0000 (21:06 +0200)]
introducing metalint

16 years agoimproved match/types, started typecheck, misc.
Fabien Fleutot [Fri, 29 Feb 2008 20:27:08 +0000 (21:27 +0100)]
improved match/types, started typecheck, misc.

16 years agofixed trycatch
Fabien Fleutot [Wed, 27 Feb 2008 19:15:32 +0000 (20:15 +0100)]
fixed trycatch

16 years agoxloop and xmatch fixes
Fabien Fleutot [Tue, 26 Feb 2008 21:33:05 +0000 (22:33 +0100)]
xloop and xmatch fixes

16 years agofixed xmatch and xloop
Fabien Fleutot [Fri, 22 Feb 2008 00:13:54 +0000 (01:13 +0100)]
fixed xmatch and xloop

16 years agointroduce xloop extended loops
Fabien Fleutot [Thu, 21 Feb 2008 08:02:37 +0000 (09:02 +0100)]
introduce xloop extended loops

16 years agointroduce xmatch, the extended match library: destructuring binders, syntax suger...
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.

16 years agomisc.
Fabien Fleutot [Mon, 18 Feb 2008 18:52:26 +0000 (19:52 +0100)]
misc.

16 years agomisc.
Fabien Fleutot [Mon, 18 Feb 2008 18:52:07 +0000 (19:52 +0100)]
misc.

16 years agocompatibility with integral-variants of Lua VMs
Fabien Fleutot [Mon, 18 Feb 2008 18:50:25 +0000 (19:50 +0100)]
compatibility with integral-variants of Lua VMs

16 years agoadded destructuring set extension
Fabien Fleutot [Mon, 18 Feb 2008 18:49:13 +0000 (19:49 +0100)]
added destructuring set extension

16 years agoupdated trycatch to work with new match, new catch...then syntax
Fabien Fleutot [Mon, 18 Feb 2008 18:48:34 +0000 (19:48 +0100)]
updated trycatch to work with new match, new catch...then syntax

16 years agoupdated 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

16 years ago0.4.1-rc1
Fabien Fleutot [Thu, 14 Feb 2008 22:43:00 +0000 (23:43 +0100)]
0.4.1-rc1

16 years agoadded 64 bits and openBSD compatibility
Fabien Fleutot [Thu, 14 Feb 2008 21:09:04 +0000 (22:09 +0100)]
added 64 bits and openBSD compatibility

16 years agoupdated MSVC build
Fabien Fleutot [Thu, 14 Feb 2008 21:08:29 +0000 (22:08 +0100)]
updated MSVC build