meric/l2l
View on GitHub ↗ ★ 307 Lua
Lisp is Lisp. Lua is Lua. Lisp and Lua as One.
17 mentions on Hacker News by 3 people: 4 stories, 13 comments · first 2012-01-26 · latest 2021-01-17
20082026
-
▲ 4
l2l: Lisp Is Lisp. Lua Is Lua. Lisp and Lua as Onestory by pmoriarty · 2021-01-17 · 0 comments
-
Well I use a parser combinator to build the Lua parser here. https://github.com/meric/l2l/blob/master/l2l/lua.lua#L429 The parser generated is recursive descent.
comment by meric · 2017-04-15 · in Show HN: Superset of Lisp and Lua Programming Language, a la JSX -
…collapsing, and function inlining using AST analysis. It makes the code go really fast in LuaJIT. https://github.com/meric/l2l/#zero-cost That kind of abstraction can be written as an extension module and imported as easily in the language…
comment by meric · 2017-04-15 · in Show HN: Superset of Lisp and Lua Programming Language, a la JSX -
▲ 38
Show HN: Superset of Lisp and Lua Programming Language, a la JSXstory by meric · 2017-04-15 · 24 comments
-
…that's a superset of Lua and Lisp, allowing lisp style macros to manipulate lua code as data. http://github.com/meric/l2l
comment by meric · 2016-12-30 · in Why Clojure? (2010) -
The syntax is very simple. I wrote a hybrid lua/lisp language with it https://github.com/meric/l2l , where Lua expressions can be quoted and quasi-quoted seamlessly. Excuse me for the plug. :)
comment by meric · 2016-11-23 · in The Lua VM, on the Web -
How would I make this project more friendly to newcomers? http://github.com/meric/l2l Is it a matter of documentation?
comment by meric · 2016-11-15 · in Ask HN: Why are FOSS projects beginner unfriendly? -
L2L ( http://github.com/meric/l2l ) A new programming language that is a superset of Lua and Lisp. You can write code in Lua or Lisp syntax and quasiquote/unquote both Lua and Lisp expressions. The presentation of the project is minimal…
comment by meric · 2016-10-03 · in Ask HN: Who needs contributors? (October 2016) -
…It's very new and I would like some comments on how to make it easier to use. You can check out http://github.com/meric/l2l , which is a hybrid lisp and lua programming language that relies on the parser combinator library. (See the…
comment by meric · 2016-09-15 · in Show HN: Using Parsing Expression Grammars to rewrite source code -
…a module that can be imported as a (+...) macro that expands into Lua `a + b + c + ...` expression. https://github.com/meric/l2l/blob/rewrite/l2l/macro/arithmet... The idea is programmers will write in Lua whenever readability is…
comment by meric · 2016-08-01 · in Ooh Ooh My Turn Why Lisp? (2008) -
…See the `left(..)` call in `prefixexp` that tells the parser generator about the left recursion. https://github.com/meric/l2l/blob/parser-generator/l2l/lua.l... [2] https://github.com/meric/l2l/blob/parser-generator/l2l/gramm...
comment by meric · 2015-12-26 · in Parsing Expressions by Recursive Descent (1999) -
▲ 53
Show HN: Lua Prototype of Elm's Time-Travelling Debuggerstory by meric · 2015-12-09 · 7 comments
-
…or moonlisp[2] (Shameless plug: I also have a WIP hy[3] inspired lisp->lua compiler hua[4]) [1]: https://github.com/meric/l2l [2]: https://github.com/leafo/moonlisp [3]: http://hylang.org [4]: https://github.com/larme/hua
comment by larme · 2015-07-01 · in John Carmack working on Scheme as a VR scripting language -
…feeling in my heart. - Someone who built a simplistic lisp->lua compiler a couple of years ago at https://github.com/meric/l2l
comment by meric · 2014-12-03 · in Hy – A dialect of Lisp that’s embedded in Python -
Plug https://github.com/meric/l2l "A object-oriented, unicode-enabled lisp that compiles to and runs as fast as Lua. Equipped with macros and compile-time compiler manipulation. Comes with all built-in Lua functions."
comment by meric · 2013-11-04 · in Wisp: Small-but-featureful embeddable Lisp interpreter written in Haskell -
plug Once upon a time I wrote a lisp to lua compiler in 100 lines. https://github.com/meric/l2l/commit/a530f0133e002c3981937d21... It's now over a thousand. https://github.com/meric/l2l/
comment by meric · 2013-01-05 · in μLithp - a Lisp in 27 lines of Ruby -
▲ 5
Lisp to Lua compiler (with parser) in 100 linesstory by meric · 2012-01-26 · 0 comments