summaryrefslogtreecommitdiff
path: root/compiler/ExtractBase.ml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* had some fun writing an IsabelleHOL backendstuebinm2024-06-291-25/+83
| | | | | | | (do not actually use this, most things are broken, and the primitives lib barely exists and is simply incorrect. But it is enough to create syntax-correct Isabelle code for relatively simply rust code, as long as it does not contain any uses of traits)
* Remove redundant `llbc_name` fieldNadrieril2024-06-281-8/+9
| | | | It's redundant with `item_meta.name`
* Update charonNadrieril2024-06-241-19/+24
|
* Support for renaming using the rename attribute in charon (#239)Escherichia2024-06-181-51/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * support for renaming using the rename attribute in charon * support for global decl * add support for renaming field * applied suggested changes and began adding support for variant * finished support for renaming variant * applied suggested changes * add tests * fixed variant and field renaming * update charon-pin * update flake.lock * Update the charon pin * Fix an issue with renaming trait method implementations * Fix an issue with the renaming of trait implementations * Fix an issue when renaming enumerations * Update the Charon pin * Fix the F* tests * Fix an issue with the spans for the loops * Fix the tests * Update a comment * Use fuel in the coq tests * Generate the template decreases clauses by default --------- Co-authored-by: Escherichia <escherichia@charlotte> Co-authored-by: Son Ho <hosonmarc@gmail.com>
* Fix a minor issueSon Ho2024-06-051-0/+1
|
* Fix a minor issueSon Ho2024-06-051-0/+1
|
* Add an option to run Aeneas as a borrow checkerSon Ho2024-06-051-36/+36
|
* Fix an issue with some names being ignored when generating unique variable namesSon Ho2024-05-281-21/+19
|
* Rename meta into spanAymeric Fromherz2024-05-241-165/+165
|
* 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
|