]> git.lizzy.rs Git - metalua.git/log
metalua.git
12 months agoast_to_src: format function calls and unary operators without space master
Lizzy Fleckenstein [Sun, 23 Apr 2023 18:11:06 +0000 (20:11 +0200)]
ast_to_src: format function calls and unary operators without space

9 years agoast_to_src handles "string literal":method()
shviller [Fri, 3 Oct 2014 17:09:46 +0000 (21:09 +0400)]
ast_to_src handles "string literal":method()

ast_to_src wraps "string literal" in parens to produce valud lua syntax.

9 years agoMultiple enhancements to ast_to_src
shviller [Wed, 1 Oct 2014 16:12:38 +0000 (20:12 +0400)]
Multiple enhancements to ast_to_src

Processes unary minus correctly, produces valid code for string literal
method calls and IIFEs, processes label, goto, and the `Stat node,
escapes invalid identifiers.

9 years agoBring ast_to_src up to date
shviller [Wed, 1 Oct 2014 15:48:34 +0000 (19:48 +0400)]
Bring ast_to_src up to date

Bring ast_to_src up to date with the main repository at
http://git.eclipse.org/c/koneki/org.eclipse.koneki.metalua.git/

9 years agofixed inconsistencies in metalua --print-ast
Fabien Fleutot [Sun, 15 Jun 2014 10:49:01 +0000 (12:49 +0200)]
fixed inconsistencies in metalua --print-ast

fixed inconsistencies in metalua --print-ast

9 years agoMerge pull request #22 from frodsan/patch-1
Fleutot [Fri, 30 May 2014 09:38:41 +0000 (11:38 +0200)]
Merge pull request #22 from frodsan/patch-1

Fix typo.

9 years agoFix typo.
Francesco Rodríguez [Thu, 29 May 2014 14:06:55 +0000 (11:06 -0300)]
Fix typo.

10 years agoMerge branch 'master' of ssh://git.eclipse.org/gitroot/koneki/org.eclipse.koneki...
Fabien Fleutot [Mon, 13 Jan 2014 18:26:50 +0000 (19:26 +0100)]
Merge branch 'master' of ssh://git.eclipse.org/gitroot/koneki/org.eclipse.koneki.metalua

12 years agoMerge remote branch 'origin/master'
Fabien [Sat, 26 Nov 2011 14:49:12 +0000 (15:49 +0100)]
Merge remote branch 'origin/master'

12 years agofix portability on tests/tun.mlua
Fabien [Sat, 26 Nov 2011 14:44:10 +0000 (15:44 +0100)]
fix portability on tests/tun.mlua

12 years agoMerge pull request #9 from ino/spott-fixspelling
Fleutot [Sat, 26 Nov 2011 14:30:33 +0000 (06:30 -0800)]
Merge pull request #9 from ino/spott-fixspelling

spelling fixes to the documentation

12 years agospelling fixes to the documentation
clemens fischer [Sun, 6 Nov 2011 21:25:10 +0000 (22:25 +0100)]
spelling fixes to the documentation

Metalua is a substantial enhancement to Lua.  It deserves documentation
that is easily digestable.  People like me tend to be irritated by
typos, which might slow down casual readers.

No changes to any code, only the documentation is considered.  The
changes are in a separate branch "spott-fixspelling" tracking
"origin/master".

12 years agoremoved deprecated doc, fixes on the build (hircus contrib + readline support)
Fabien [Sat, 1 Oct 2011 09:33:33 +0000 (11:33 +0200)]
removed deprecated doc, fixes on the build (hircus contrib + readline support)

12 years agofix/update the licence
Fabien [Sat, 1 Oct 2011 09:03:56 +0000 (11:03 +0200)]
fix/update the licence

12 years agobug fixes in table.iforeach (thanks Mingun)
Fabien [Sat, 1 Oct 2011 08:51:18 +0000 (10:51 +0200)]
bug fixes in table.iforeach (thanks Mingun)

12 years agoAdding function to handle AST generation failures and nicely parse error strings
Kevin KIN-FOO [Thu, 26 May 2011 14:40:07 +0000 (16:40 +0200)]
Adding function to handle AST generation failures and nicely parse error strings

12 years agoEnable `Dots nodes to be processed as identifiers
Kévin KIN-FOO [Fri, 25 Jun 2010 13:45:23 +0000 (15:45 +0200)]
Enable `Dots nodes  to be processed as identifiers

15 years agofix in default args for gg.multisequence
Fabien Fleutot [Sat, 28 Feb 2009 12:31:05 +0000 (13:31 +0100)]
fix in default args for gg.multisequence

15 years agoMerge branch 'better-errors' into 0.5-branch
Fabien Fleutot [Sat, 28 Feb 2009 12:23:42 +0000 (13:23 +0100)]
Merge branch 'better-errors' into 0.5-branch

15 years agouse simplified defaults for multisequences in mlp
Fabien Fleutot [Sat, 28 Feb 2009 12:21:36 +0000 (13:21 +0100)]
use simplified defaults for multisequences in mlp

15 years agofixes suggested by D. M.
Fabien Fleutot [Thu, 26 Feb 2009 12:31:16 +0000 (13:31 +0100)]
fixes suggested by D. M.

15 years agoMerge branch 'better-errors' of git@github.com:fab13n/metalua into better-errors
Fabien Fleutot [Wed, 25 Feb 2009 16:11:14 +0000 (17:11 +0100)]
Merge branch 'better-errors' of git@github.com:fab13n/metalua into better-errors

15 years agoimproved messages clarity, following suggestions by D. Manura
Fabien Fleutot [Wed, 25 Feb 2009 16:10:39 +0000 (17:10 +0100)]
improved messages clarity, following suggestions by D. Manura

15 years agobuild inside metalua/build by default
Fabien Fleutot [Wed, 25 Feb 2009 16:09:47 +0000 (17:09 +0100)]
build inside metalua/build by default

15 years agofixed metabug mode
Fabien Fleutot [Sun, 22 Feb 2009 17:46:21 +0000 (18:46 +0100)]
fixed metabug mode

15 years agopushed in a hurry, alimentation issue on laptop
Fabien Fleutot [Sun, 22 Feb 2009 14:46:09 +0000 (15:46 +0100)]
pushed in a hurry, alimentation issue on laptop

15 years agoMerge commit 'origin/scoped-walk' into better-errors
Fabien Fleutot [Sun, 22 Feb 2009 09:35:05 +0000 (10:35 +0100)]
Merge commit 'origin/scoped-walk' into better-errors

15 years agoimproved make script: check lua presence, ~/.metaluabuildrc init setup, allow linerea...
Fabien Fleutot [Sun, 22 Feb 2009 09:06:34 +0000 (10:06 +0100)]
improved make script: check lua presence, ~/.metaluabuildrc init setup, allow linereader in metalua

15 years agobetter sequence name generator for gg
Fabien Fleutot [Sun, 22 Feb 2009 09:04:28 +0000 (10:04 +0100)]
better sequence name generator for gg

15 years agomlc_xcall now properly reports parsing errors
Fabien Fleutot [Sat, 21 Feb 2009 18:25:14 +0000 (19:25 +0100)]
mlc_xcall now properly reports parsing errors

15 years agosimpler bindings analysis: works on simple cases
Fabien Fleutot [Thu, 19 Feb 2009 17:38:19 +0000 (18:38 +0100)]
simpler bindings analysis: works on simple cases

15 years agomake.bat: set LUA_PATH and LUA_MPATH
Fabien Fleutot [Thu, 19 Feb 2009 17:37:15 +0000 (18:37 +0100)]
make.bat: set LUA_PATH and LUA_MPATH

15 years agoimproved walker: scope callbacks, more flexible callbacks in cfg (by tag, by kind...
Fabien Fleutot [Thu, 19 Feb 2009 10:14:26 +0000 (11:14 +0100)]
improved walker: scope callbacks, more flexible callbacks in cfg (by tag, by kind, common, optionnal up/down distinction...; first proto of a much simplified scope-aware Id analyzer based on this improved walker

15 years agoindentation cleanup
Fabien Fleutot [Wed, 11 Feb 2009 01:24:23 +0000 (02:24 +0100)]
indentation cleanup

15 years agocomment cleanup on serialize
Fabien Fleutot [Tue, 10 Feb 2009 17:27:59 +0000 (18:27 +0100)]
comment cleanup on serialize

15 years agoreweaving test suite based on actual bugs
Alexander Gladysh [Sun, 8 Feb 2009 22:23:59 +0000 (01:23 +0300)]
reweaving test suite based on actual bugs

15 years agotests/run: running all tests before reporting errors
Alexander Gladysh [Sun, 8 Feb 2009 22:23:08 +0000 (01:23 +0300)]
tests/run: running all tests before reporting errors

15 years agotest/run: fixed OS X (where os.getenv("OS") returns nil)
Alexander Gladysh [Sun, 8 Feb 2009 22:22:48 +0000 (01:22 +0300)]
test/run: fixed OS X (where os.getenv("OS") returns nil)

15 years agotail call in the metalua script for unix
Fabien Fleutot [Sun, 8 Feb 2009 16:25:12 +0000 (17:25 +0100)]
tail call in the metalua script for unix

15 years agofixed integration of interactive loop with external line editors such as ledit
Fabien Fleutot [Sun, 8 Feb 2009 10:58:21 +0000 (11:58 +0100)]
fixed integration of interactive loop with external line editors such as ledit

15 years agofix on make.sh by D. Cooke
Fabien Fleutot [Sun, 8 Feb 2009 16:10:29 +0000 (17:10 +0100)]
fix on make.sh by D. Cooke

15 years agorelease notes update
Fabien Fleutot [Fri, 6 Feb 2009 15:12:12 +0000 (16:12 +0100)]
release notes update

15 years agoremove refs to verbose_require in sample withdo_test
Fabien Fleutot [Fri, 6 Feb 2009 14:16:10 +0000 (15:16 +0100)]
remove refs to verbose_require in sample withdo_test

15 years agoadded auto-test script
Fabien Fleutot [Wed, 4 Feb 2009 10:35:23 +0000 (11:35 +0100)]
added auto-test script

15 years agofixed sample h_test2.mlua
Fabien Fleutot [Tue, 3 Feb 2009 20:06:32 +0000 (21:06 +0100)]
fixed sample h_test2.mlua

15 years agofixed types extension
Fabien Fleutot [Tue, 3 Feb 2009 20:05:51 +0000 (21:05 +0100)]
fixed types extension

15 years agomlp.chunk.transformers had disappeared because mlp.chunk wasn't a regular parser...
Fabien Fleutot [Tue, 3 Feb 2009 20:05:23 +0000 (21:05 +0100)]
mlp.chunk.transformers had disappeared because mlp.chunk wasn't a regular parser anymore

15 years ago.gitignore
Fabien Fleutot [Tue, 3 Feb 2009 19:50:53 +0000 (20:50 +0100)]
.gitignore

15 years agofixed trycatch sample
Fabien Fleutot [Tue, 3 Feb 2009 19:43:54 +0000 (20:43 +0100)]
fixed trycatch sample

15 years agoremoved incomplete sample
Fabien Fleutot [Tue, 3 Feb 2009 19:43:10 +0000 (20:43 +0100)]
removed incomplete sample

15 years agofixed xmatch extension
Fabien Fleutot [Tue, 3 Feb 2009 19:42:14 +0000 (20:42 +0100)]
fixed xmatch extension

15 years agofixed extension xglobal
Fabien Fleutot [Tue, 3 Feb 2009 19:28:42 +0000 (20:28 +0100)]
fixed extension xglobal

15 years agosmarter lib regeneration under win32
Fabien Fleutot [Tue, 3 Feb 2009 19:27:48 +0000 (20:27 +0100)]
smarter lib regeneration under win32

15 years agominor refactoring in gg
Fabien Fleutot [Tue, 3 Feb 2009 19:27:20 +0000 (20:27 +0100)]
minor refactoring in gg

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()