summaryrefslogtreecommitdiff
path: root/compiler/ExtractBase.ml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #146 from RaitoBezarius/mainSon HO2024-04-191-3/+69
|\ | | | | fix(backends/lean): add a significant amount of keywords
| * fix(backends/lean): extract more keywords from `lstlean.tex`Ryan Lahfa2024-04-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | Taken from https://github.com/leanprover/lean4/blob/master/doc/latex/lstlean.tex#L33 and https://github.com/leanprover/lean4/blob/master/doc/latex/lstlean.tex#L36-L43. This will not extract the tactics. Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr>
| * fix(backends/lean): extract more keywords from `lstlean.latex`Ryan Lahfa2024-04-181-0/+62
| | | | | | | | | | | | | | | | | | | | Taken from https://github.com/leanprover/lean4/blob/master/doc/latex/lstlean.tex#L12 and sorted. Tactics are ignored. Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr>
| * chore(backends/lean): sort the keyword listRyan Lahfa2024-04-171-4/+4
| | | | | | | | | | | | OCD. :D Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr>
| * fix(backends/lean): `from` is a keywordRyan Lahfa2024-04-171-0/+1
| | | | | | | | Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr>
| * fix(backends/lean): `as` is a keywordRyan Lahfa2024-04-171-0/+1
| | | | | | | | | | | | | | | | `as` is a reserved keyword and cannot be used as a variable name. Fixes #139. Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr>
* | item_metaNadrieril2024-04-181-4/+5
|/
* Merge remote-tracking branch 'origin/main' into son/cleanSon Ho2024-04-111-2/+3
|\
| * Fix a minor issueSon Ho2024-04-041-1/+1
| |
| * Merge remote-tracking branch 'origin/main' into escherichia/error_catchingSon Ho2024-04-041-33/+52
| |\
| * | resolved requested changesEscherichia2024-04-031-1/+0
| | |
| * | resolved requested changesEscherichia2024-04-031-1/+1
| | |
| * | added Error and EError to expressions and propagated related changesEscherichia2024-04-031-1/+3
| | |
* | | Update the extractionSon Ho2024-04-041-4/+4
| |/ |/|
* | Merge pull request #109 from AeneasVerif/escherichia/names_collisionSon HO2024-04-041-31/+48
|\ \ | | | | | | Escherichia/names collision
| * | Update a commentSon Ho2024-04-041-3/+5
| | |
| * | Make a minor modificationSon Ho2024-04-041-2/+4
| | |
| * | Make minor modificationsSon Ho2024-04-041-15/+21
| | |
| * | rebased branchEscherichia2024-04-031-13/+19
| | |
| * | Added meta information to names_map_id field in names_map typeEscherichia2024-04-031-22/+23
| |/
* / Update the names of the synthesized backward functionsSon Ho2024-04-041-2/+4
|/
* formatting and changed save_error condition for failing from b to not bEscherichia2024-03-291-4/+3
|
* added file and line arg to craise, cassert and all related functionsEscherichia2024-03-291-3/+3
|
* added file and line arg to craise and cassertEscherichia2024-03-291-16/+17
|
* Revert some changes which shouldn't be hereSon Ho2024-03-281-6/+5
|
* formattingEscherichia2024-03-281-104/+133
|
* changes after git rebase mainEscherichia2024-03-281-8/+16
|
* Should answer all comments, there are still some TODO: error message leftEscherichia2024-03-281-46/+42
|
* Added sanity_check and sanity_check_opt_meta helpers and changed sanity ↵Escherichia2024-03-281-1/+1
| | | | checks related cassert to these helpers to have a proper error message
* changes to extract_ty and related functions to use the right metaEscherichia2024-03-281-18/+11
|
* added a meta option field to norm_ctx and changed the meta used by some ↵Escherichia2024-03-281-1/+0
| | | | assert to the norm_ctx one
* Replaced some unclear TODOs error message placeholder by clearer TODOs, they ↵Escherichia2024-03-281-2/+2
| | | | were forgotten before last push
* Still need to fill the TODO: error message and check some meta but it buildsEscherichia2024-03-281-39/+39
|
* WIP: translate.ml and extract.ml do not compile. Some assert left to do and ↵Escherichia2024-03-281-136/+139
| | | | we need to see how translate_crate can give meta to the functions it calls
* Update following changes in CharonSon Ho2024-03-171-1/+1
|
* Update the generation of namesSon Ho2024-03-111-6/+15
|
* Update the name generation and add CLI to print external pat namesSon Ho2024-03-101-6/+12
|
* Make progress on propagating the changesSon Ho2024-03-081-139/+22
|
* Remove the option to split fwd/back functions and update SymbolicToPureSon Ho2024-03-081-59/+23
|
* Update the code generationSon Ho2024-03-081-2/+6
|
* Fix minor issuesSon Ho2023-12-221-27/+54
|
* Use indices starting at 1 to make variable names unique at code genSon Ho2023-12-211-1/+1
|
* Update the extraction to handle casts between integers/boolsSon Ho2023-12-131-1/+9
|
* Use a better syntax when extracting tuple types (structures with unnamed fields)Son Ho2023-12-071-8/+9
|
* Update following changes in CharonSon Ho2023-12-051-1/+1
|
* Add support for more bitwise operations and update the extractionSon Ho2023-11-291-7/+5
|
* Fix the issues with the cross-references for OCaml docSon Ho2023-11-271-3/+3
|
* Add the alloc::string::String type in the builtinsSon Ho2023-11-241-2/+3
|
* Update a commentSon Ho2023-11-241-2/+3
|
* Update some assumed type names/variantsSon Ho2023-11-241-28/+40
|