Leonardo de Moura
|
d944d78b1d
|
feat(frontends/lean/decl_cmds): attribute list must occur immediately after 'attribute' keyword
|
2016-09-24 18:40:57 -07:00 |
|
Daniel Selsam
|
a9b01991c2
|
feat(frontends/lean/inductive_cmd): new frontend for the inductive cmd
Conflicts:
src/frontends/lean/CMakeLists.txt
src/frontends/lean/structure_cmd.h
|
2016-08-17 07:34:03 -07:00 |
|
Sebastian Ullrich
|
8bbcbb14cf
|
chore(library, tests): use new attribute chaining syntax
sed -E -i 's/(attribute(\s*(\w|\.)+)* \[[^]]+)\] \[/\1, /' {library,tests}/**/*.lean # repeat as needed
|
2016-08-16 13:49:03 -07:00 |
|
Sebastian Ullrich
|
fd2c42a8bf
|
chore(library, tests): switch to new attribute declaration syntax
sed -Ei 's/^(\s*)((private |protected )?(noncomputable )?(abbreviation|definition|meta_definition|theorem|lemma|proposition|corollary)\s+\S+\s*)((\s*\[(\S+(\s+[0-9]+)*|priority.*)\])+)\s*/\1attribute \6\n\1\2/' library/**/*.lean tests/**/*.lean
sed -Ei 's/\s+$//' library/**/*.lean # remove trailing whitespace
|
2016-08-12 15:36:12 -07:00 |
|
Leonardo de Moura
|
66a59d5b51
|
feat(frontends/lean/util): remove hack that overrides priority namespace
closes #789
|
2015-08-11 18:01:40 -07:00 |
|
Leonardo de Moura
|
4248ad644d
|
fix(frontends/lean): priority expressions parser
|
2015-02-14 12:26:06 -08:00 |
|