Mirror of https://github.com/leanprover/lean2 in case it ever disappears
Find a file
Leonardo de Moura 193a9d8cde refactor(library/norm_num): avoid manual constant name initialization
@rlewis1988 We group all Lean constants used in the C++ code at
src/library/constants.txt

Jeremy and Floris check this file before renaming constants in the
library. So, they can quickly decide whether C++ code will be affected
or not.

We also have a python script for initializing the C++ name objects.
To use the script:
   - go to src/library
   - execute
       python ../../script/gen_constants_cpp.py constants.txt

It will create the boring initialization and finalization code, and
declare a procedure get_<id>_name() for each constant in the file constants.txt.

I also move the norm_num1.lean to the set of unit tests that are
executed whenever we push a commit to the main branch.

I found an assertion violation at line 606. Could you take a look?

Best,
Leo
2015-12-13 21:38:59 -08:00
bin feat(bin/leanutil): start "compilation server" 2015-08-16 12:20:48 -07:00
doc fix(tests,doc): adjust tests to changes in the standard library 2015-12-05 23:52:16 -08:00
extras/latex fix(extras/latex/*): fix handling of attributes 2015-05-25 16:50:42 -07:00
hott feat(frontends/lean): add 'with_attributes' tactical 2015-12-13 18:27:44 -08:00
images chore(CMakeLists.txt): move Lean logo to make sure we can test leanemacs without installing Lean 2015-01-31 17:38:49 -08:00
library refactor(library/norm_num): avoid manual constant name initialization 2015-12-13 21:38:59 -08:00
script chore(hott): cleanup 2015-12-10 10:42:16 -08:00
src refactor(library/norm_num): avoid manual constant name initialization 2015-12-13 21:38:59 -08:00
tests refactor(library/norm_num): avoid manual constant name initialization 2015-12-13 21:38:59 -08:00
.gitignore chore(.gitignore): add compile_commands.json 2015-03-28 22:38:13 -04:00
.travis.osx.yml fix(.travis.osx.yml): explicitly turn on multi-thread support 2015-05-06 02:37:31 -04:00
.travis.windows.yml fix(.travis.windows.yml): use cmake-2.8.11.2 2015-05-05 17:17:37 -04:00
.travis.yml fix(.travis.yml): add missing ';'s 2015-05-13 17:52:39 -04:00
LICENSE Add LICENSE file 2013-07-15 18:55:48 -07:00
README.md chore(README): remove coveralls "badge" 2015-08-20 18:00:15 -07:00

logo

LicenseWindowsUbuntuOS XBuilds/Tests

Issue Stats Issue Stats

About

Requirements

Installing required packages at

Windows

Linux

OS X

Build Instructions

Miscellaneous