[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, lua, created. v2.1.0-203-g84a410d
From: |
Ian Price |
Subject: |
[Guile-commits] GNU Guile branch, lua, created. v2.1.0-203-g84a410d |
Date: |
Mon, 09 Sep 2013 20:14:06 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=84a410dbd21e84b8cfffbf9dbc4e3924c7137391
The branch, lua has been created
at 84a410dbd21e84b8cfffbf9dbc4e3924c7137391 (commit)
- Log -----------------------------------------------------------------
commit 84a410dbd21e84b8cfffbf9dbc4e3924c7137391
Author: Ian Price <address@hidden>
Date: Thu Apr 18 00:03:34 2013 +0100
Fix code generated for `while'.
* module/language/lua/compile-tree-il.scm (while-loop->tree-il):
Generate `letrec' instead of `let'.
Generate valid `lambda' expression.
commit b3a7711ba07c357d2c2aa2b51638de1c6239862a
Author: Ian Price <address@hidden>
Date: Wed Apr 17 23:58:09 2013 +0100
Add missing `make-sequence' procedure.
* module/language/lua/compile-tree-il.scm (make-sequence): New procedure.
commit ced883f7df8fe1f6b2fad155c0f05baf9fb057c2
Author: Ian Price <address@hidden>
Date: Wed Apr 17 23:53:31 2013 +0100
Use `make-application' instead of removed `make-call'.
* module/language/lua/compile-tree-il.scm: Rename.
commit ddb685ee52796c720d7c32d7adf50b744129f3f0
Author: Ian Price <address@hidden>
Date: Tue Mar 26 05:41:32 2013 +0000
Compile Lua's ... form.
* module/language/lua/compile-tree-il.scm (compile): Add clause for
ast-variable-arguments.
* module/language/lua/parser.scm (define-ast, make-parser): Add
vararg-gensym field to functions, gensym field to variable-arguments.
Propagate *vararg-gensym* from functions to variable-arguments.
* test-suite/tests/lua-eval-2.test ("lua-eval"): Check for #nil
commit f5302e62a75a57e59b2986b519e7db6b5250745a
Author: Ian Price <address@hidden>
Date: Tue Mar 26 03:52:40 2013 +0000
Fix typo in lua lexer test.
* test-suite/tests/lua-lexer.test ("lua-lexer"): #:vararg -> #:varargs
commit f4c44a3ba7f88e8171e1e2bd14b82d00b5912977
Author: Phil <address@hidden>
Date: Sat May 7 16:15:11 2011 -0500
Add some documentation. Function calls now properly handle multiple
values resulting from a function call as the last argument.
doc/ref/api-languages.texi: Add a small blurb about Lua.
module/language/lua/compile-tree-il.scm: Function calls now properly
handle multiple values resulting from a function call as the last
argument.
commit faa16f99898a329eba0eaff0ab520eb0f9adbecb
Author: Phil <address@hidden>
Date: Fri Apr 22 01:11:38 2011 -0500
module/language/lua/parser.scm: Rename #:dots to #:varargs
commit becaec9a4e7042a98c2dfa5fd3af9d7c30f71f44
Author: Phil <address@hidden>
Date: Thu Apr 21 18:05:48 2011 -0500
Fix and/or double evaluation. Add math.modf, math.fmod.
* module/language/lua/compile-tree-il.scm: Fix and/or double evaluation.
* module/language/lua/notes.org: Add file describing known issues.
* module/language/lua/parser.scm: (token-type): Recognize and/or.
* module/language/lua/standard/math.scm: Add modf, fmod implementations.
* test-suite/tests/lua-eval-3.test: Add another test file for basic
language features.
commit 8c91ae59f97200208962d845dbe972ad7c3cda3c
Author: Andy Wingo <address@hidden>
Date: Fri Dec 10 19:08:25 2010 +0100
lua code returning via normal path
* module/language/lua/compile-tree-il.scm (compile): Get more lua code
returning via the normal path.
commit 3043dc0ef734bc62aa8e226417a98f44637b641f
Author: Andy Wingo <address@hidden>
Date: Fri Dec 10 19:05:01 2010 +0100
lua/runtime tweaks
* module/language/lua/runtime.scm: Various indentation and idiom
tweaks.
commit 04175c7ddaec2694c43525fd41748760bafebbbc
Author: Andy Wingo <address@hidden>
Date: Fri Dec 10 18:27:46 2010 +0100
lua/lexer tweaks
* module/language/lua/lexer.scm: Some tweaks and reindentations. Remove
the define/init lexer interface; I don't like separating declaration
and initialization.
* module/language/lua/parser.scm:
* test-suite/tests/lua-lexer.test: Adapt to lexer interface change.
commit d87639dfe4d79792e9f5a6eaa797e125c8e54f54
Author: Andy Wingo <address@hidden>
Date: Fri Dec 10 18:03:22 2010 +0100
lua/compile-tree-il tweaks
* module/language/lua/compile-tree-il.scm: Reflow a bit, and a number of
small rewrites. Added some FIXMEs.
commit ae037892f0008c9d05f9c0a090618d013a6dcfbb
Author: Andy Wingo <address@hidden>
Date: Fri Dec 10 16:31:14 2010 +0100
remove true? and false?; lua's truthiness and falsehood is guile's.
* module/language/lua/runtime.scm (true?, false?): Remove, now that #nil
is false.
* module/language/lua/compile-tree-il.scm: Don't emit calls to true? or
false?.
commit 48f7c66a40f9357e10691caafac87355a17a3dec
Author: Andy Wingo <address@hidden>
Date: Fri Dec 10 11:41:39 2010 +0100
lua/parser tweaks
* module/language/lua/parser.scm (define-record, define-ast): Simplify
these macros.
(make-parser): A number of small idiomatic changes.
commit a0cecd8ff2b98cac4864aacadd28747558d14973
Author: Andy Wingo <address@hidden>
Date: Fri Dec 10 11:33:18 2010 +0100
lua/common cleanup
* module/language/lua/common.scm: Remove `or-eqv?'. Make a bit more
idiomatic.
* module/language/lua/compile-tree-il.scm:
* module/language/lua/lexer.scm:
* module/language/lua/parser.scm:
* module/language/lua/runtime.scm: Replace or-eqv? instances with memq
or memv.
commit 32c58e2eddadff3939361124b0f81ab9c35c7a5a
Author: Andy Wingo <address@hidden>
Date: Fri Dec 10 11:28:00 2010 +0100
syntax-error throws to syntax-error
* module/language/lua/common.scm (syntax-error): Throw to
'syntax-error.
commit a30c18c22a26be43f095e92c007142ae3fffc367
Author: No Itisnt <address@hidden>
Date: Thu Jun 3 03:12:41 2010 -0500
add lua language implementation
What is missing:
+ Functions: module, getfenv, setfenv, math.modf, table.sort
+ Parser: needs to be more flexible
+ Compiler: needs more extensive work to properly handle all possible
cases of variable arguments, multiple returns, and loops
+ Language: Variable arguments and unpacking of multiple returns. (For
example we need to be able to handle something as complex as
print(unpack({...})), which is easy with Lua's explicit stack but will
require lots of tree-il gymnastics, or perhaps modifications to better
allow different calling conventions. (For instance -- how would we
support Python or Ruby, where keyword arguments are gathered into a
hashtable and passed as a single argument?)
What is there:
A fair shot at supporting Lua 5.1, not quite a drop-in replacement, but
not far from that goal either.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, lua, created. v2.1.0-203-g84a410d,
Ian Price <=