Mirror of https://github.com/leanprover/lean2 in case it ever disappears
Find a file
Leonardo de Moura 9a5f86fce6 feat(lua): use (** ... **) instead of {{ ... }} for nested Lua scripts
The token }} is a bad delimiter for blocks of Lua script code nested in Lean files.
The problem is that the sequence }} occurs very often in Lua code because Lua uses { and } to build tables/lists/arrays.
Here is an example of Lua code that contains the sequence }}
     t = {{1, 2}, {2, 3}, {3, 4}}

In Lean, (* ... *) is used to create comments. Thus, (** ... **) code blocks will not affect
valid Lean files. It also looks reasonably good.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-12 16:05:49 -08:00
doc doc(coding_style.md): add section about git pre-push hook 2013-11-11 20:18:38 -05:00
examples/lean Fix typo 2013-09-05 19:18:55 -07:00
script fix(script/demangle_cpptype): process line-by-line, instead of waiting for EOF 2013-09-29 18:36:01 -07:00
src feat(lua): use (** ... **) instead of {{ ... }} for nested Lua scripts 2013-11-12 16:05:49 -08:00
tests feat(lua): use (** ... **) instead of {{ ... }} for nested Lua scripts 2013-11-12 16:05:49 -08:00
.gitignore Add more tests 2013-08-31 18:46:18 -07:00
.travis.osx.yml chore(build): add Lua to OSX build 2013-11-08 16:04:33 -05:00
.travis.windows.yml chore(travis): use cmake-2.8.7 for windows build 2013-11-06 13:49:14 -05:00
.travis.yml chore(travis): update coveralls.io repo token 2013-11-10 02:04:27 -05:00
LICENSE Add LICENSE file 2013-07-15 18:55:48 -07:00
README.md doc(README.md): "Code coverage" => "Coverage" to fit in one line 2013-11-11 20:42:15 -05:00

UbuntuOS XWindowsCoverageBuilds / UnitTests / Dynamic Analyses
http://build.leanprover.net

About

Requirements

Installing required packages at

Build Instructions

Miscellaneous