Commit graph

141 commits

Author SHA1 Message Date
Leonardo de Moura
43cbd1e2a3 chore(bin/leanc.in): remove flags that do not exist on clang++ for OSX
@kha If we need these flags on Linux, we need to test which platform
is being used.
2019-03-18 08:38:50 -07:00
Sebastian Ullrich
dec8b76c32 feat(src/CMakeLists): build stdlib using leanc instead of nested CMake run 2019-03-18 16:11:39 +01:00
Sebastian Ullrich
f6d3062524 feat(bin/leanc): add simple C++ compiler wrapper script 2019-03-18 16:11:30 +01:00
Sebastian Ullrich
80c6edc620 chore(bin/lean-gdb): add lean::object pretty printer
Not quite sure yet if this helps or just confuses gdb/CLion on invalid pointers
2019-02-07 13:02:48 +01:00
Sebastian Ullrich
01996bc4c6 chore(bin/lean-gdb): fix list_ref printer 2019-01-22 11:16:00 +01:00
Sebastian Ullrich
32a3c0e62e feat(library/init/lean/frontend,bin/lean-bootstrapped): expose new frontend as executable 2018-12-20 14:28:18 +01:00
Sebastian Ullrich
d1b6b9721a chore(bin/lean-gdb): exclude scalar fields 2018-10-04 18:32:03 -07:00
Sebastian Ullrich
3090826326 chore(bin/lean-gdb): update lean::expr printer 2018-09-02 18:08:41 -07:00
Sebastian Ullrich
bb01787ccf chore(bin/lean-gdb): disable broken pretty printers 2018-08-29 16:42:24 -07:00
Sebastian Ullrich
847018e881 chore(bin/lean-gdb.py): fix lean::name pretty printer and add lean::obj_list pretty printer 2018-06-06 15:36:28 +02:00
Sebastian Ullrich
1e1cd7378e chore(bin/lean-gdb): add pretty printer for lean::level 2017-11-30 17:47:49 +01:00
Gabriel Ebner
d7c90ecbf5 chore(bin): remove obsolete files 2017-11-12 12:04:47 +01:00
Sebastian Ullrich
5efa1b829c chore(src/emacs): move lean-mode to https://github.com/leanprover/lean-mode
Closes #410
2017-10-06 10:46:43 -07:00
Leonardo de Moura
5cbc1470b9 chore(bin/leanpkg): return nicer error message if greadlink is not available on OSX
see issue #1788
2017-08-21 20:20:13 +02:00
Corey Richardson
5fd504bec3 dist: add leanpkg.bat script for invocation on Windows 2017-07-20 21:50:23 +01:00
Gabriel Ebner
4a1fe588ea feat(lean-gdb.py): show expression kind 2017-07-04 08:38:19 +02:00
Sebastian Ullrich
85cf1b7075 chore(bin/lean-gdb): pretty-print lean::optional 2017-05-09 16:02:41 -07:00
Gabriel Ebner
8f7608433a fix(leanpkg,CMakeLists): fix installation 2017-05-09 17:17:10 +02:00
Gabriel Ebner
b50f34078e fix(bin/leanpkg): mac support 2017-05-01 14:11:39 -07:00
Gabriel Ebner
c744efe2f5 feat(leanpkg): add package manager 2017-05-01 14:11:38 -07:00
Sebastian Ullrich
e5018ee4f8 chore(bin/lean-gdb): fix macro pretty-printing 2017-03-06 11:02:50 -08:00
Sebastian Ullrich
3dd7a69068 chore(bin/lean-gdb): fix mismatched type? 2017-03-05 08:37:16 -08:00
Sebastian Ullrich
9413f132c0 chore(bin/lean-gdb): terser expr pretty printer 2017-02-21 11:06:39 -08:00
Gabriel Ebner
e03c31d2f9 refactor(gitignore): remove old ignore entries 2016-12-10 08:42:39 -08:00
Leonardo de Moura
a76c2d37a7 chore(bin,src,src/emacs): delete linja 2016-11-29 14:14:42 -08:00
Gabriel Ebner
3c37e3cd25 fix(bin/lean-gdb): support python 2 2016-11-10 15:46:50 -08:00
Sebastian Ullrich
02a6063923 feat(bin/lean-gdb): support pretty-printing rb_map and rb_tree 2016-11-08 08:37:41 -08:00
Gabriel Ebner
38ee100117 chore(bin/lean-gdb): remove lean::name from string output 2016-11-07 14:55:32 -08:00
Gabriel Ebner
dad7de5578 feat(bin/lean-gdb): show expr_cell members 2016-11-07 14:55:32 -08:00
Gabriel Ebner
d4fdea6751 fix(lean-gdb): do not print the u in u"limb" in python 2 2016-11-07 14:55:32 -08:00
Gabriel Ebner
a7fe8cf15c fix(bin/linja): support files with spaces 2016-10-16 14:41:35 -07:00
Gabriel Ebner
ec0aa6d248 refactor(*): integrate emscripten build 2016-10-16 14:41:35 -07:00
Leonardo de Moura
0bb155a427 chore(*): remove .clean support
In Lean2, we used to cache elaborated definitions in .clean files. The
main goal was to optimize each flycheck invocation produced by Emacs.

The Lean3 definition package was not updating this cache. Moreover, it
is not necessary because the new compilation server subsumes it.
2016-10-13 19:58:58 -07:00
Gabriel Ebner
ba74530cc0 chore(*): remove legacy flycheck support 2016-10-13 18:49:10 -07:00
Leonardo de Moura
b2e1e920a9 chore(frontends/lean,library,linja): remove .ilean files 2016-09-20 08:43:45 -07:00
Leonardo de Moura
4c408d20d7 chore(bin): remove broken leantags 2016-09-19 19:57:30 -07:00
Sebastian Ullrich
03b1daa0bf feat(bin): GDB pretty printer for lean::buffer 2016-07-29 23:44:29 -04:00
Sebastian Ullrich
a18440d67e feat(bin): add GDB pretty-printers for lean::name and lean::list 2016-07-24 12:37:05 -07:00
Soonho Kong
994815bc77 fix(bin/linja.in): roll back d8fb6f5
The previous fix d8fb6f5 creates a problem in Linux platform.

Related issue: #986
2016-02-15 14:31:15 -05:00
Soonho Kong
d8fb6f5082 fix(bin/linja.in): wrap args.cache to avoid problems handling fullpath with space
related issue: #986
2016-02-12 13:25:23 -05:00
Leonardo de Moura
df1a847255 feat(bin/leanutil): start "compilation server" 2015-08-16 12:20:48 -07:00
Soonho Kong
8c1cd92add fix(bin/linja.in): recursively find all files in a pattern endswith /
Example: If you have an entry in .project file such as

    - theories/

It will remove all files under 'theories' directory from the project

related issue: leanprover/lean.js#3
2015-07-29 16:44:56 -07:00
Leonardo de Moura
a8f8e7116b feat(bin): add auxiliary scripts that allow us to test lean-emacs mode in the build directory (i.e., without installing Lean) 2015-07-20 16:10:30 -07:00
Soonho Kong
4a03570bf5 fix(bin/linja): reset the output encoding to utf-8 globally
fix #598
2015-05-14 00:44:07 -04:00
Soonho Kong
e6db3ce584 fix(bin/leantags): remove '\r' in ilean input
fix #591
2015-05-10 06:53:26 -04:00
Soonho Kong
5e05a25a5d fix(bin/linja): replace windows newline '\r\n' to unix newline '\n'
This should be handled by Python. However, when we use mingw-python
which acts like Unix Python with Native Windows Emacs, we have a problem
because mingw-python do not handle '\r'. This patch manually replace
'\r\n' with '\n' to solve the problem.

close #573
2015-05-04 05:39:54 -04:00
Soonho Kong
69f3f65ec9 fix(bin/linja): decode communicated result if not None 2015-05-04 04:35:42 -04:00
Sebastian Ullrich
24b00c3a73 fix(bin/linja): don't double-decode Popen output
After 8ca3ee48, `text` is always a `str` instance, which provokes an `AttributeError` in Python 3.
2015-05-03 06:13:38 -04:00
Soonho Kong
fa33f706f8 fix(bin/linja): indentation
close #515
2015-04-04 13:31:35 -04:00
Soonho Kong
8ca3ee4851 fix(bin/linja): decode the results from subprocess.Popen
http://stackoverflow.com/questions/606191/convert-bytes-to-a-python-string

fix #515
2015-04-04 13:30:10 -04:00