summaryrefslogtreecommitdiff
path: root/compiler/InterpreterStatements.ml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' into son/clean-synthesisSon Ho2024-06-051-113/+111
|\
| * Propagated changes to statement from Charon (#223)Escherichia2024-06-041-0/+1
| | | | | | | | | | Co-authored-by: Escherichia <escherichia@charlotte> Co-authored-by: Nadrieril <nadrieril+git@gmail.com>
| * Merge branch 'main' into son/loops2Son Ho2024-06-041-0/+2
| |\
| | * feat: basic handling for `RValue::Len`, following AeneasVerif/charon#209Lucas Franceschino2024-06-031-0/+1
| | |
| * | Fix a bug when composing the continuations in eval_statementSon Ho2024-06-031-113/+108
| |/
* | Remove the cps.eval_result typeSon Ho2024-05-301-2/+6
| |
* | Remove the options from the functions synthesizing the symbolic ASTSon Ho2024-05-301-34/+10
|/
* Rename meta into spanAymeric Fromherz2024-05-241-215/+215
|
* Update the interpreter so that it is not written in CPS style (#120)Escherichia2024-05-231-635/+645
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start turning the compiler in a style which is less CPS * Update a function in InterpreterExpressions.ml * WIP work on cps * WIP * WIP, currently on InterpreterStatements.ml * WIP * Finished CPS-related modification * Fixed some warning related to documentation comments * Finished loop support, fixed a loop * fixed a typed value * Fixed check_disappeared related error * cleaned check_disappeared related error * Start cleaning up * Do more cleanup * Make some cleanup and fix an issue * Do more cleanup * Do more cleanup * Do more cleanup * Do more cleanup * Do more cleanup * Do more cleanup * Do more cleanup * Do more cleanup * Rename a function * Do more cleanup * Cleanup the loops code and fix some bugs * Cleanup assign_to_place * Make a minor cleanup --------- Co-authored-by: Son Ho <hosonmarc@gmail.com>
* Reformat some filesSon Ho2024-04-221-5/+5
|
* item_metaNadrieril2024-04-181-6/+6
|
* Improve the error messages furtherSon Ho2024-04-071-1/+12
|
* Add some missing error messagesSon Ho2024-03-291-2/+2
|
* formatting and changed save_error condition for failing from b to not bEscherichia2024-03-291-5/+13
|
* added file and line arg to craise and cassertEscherichia2024-03-291-53/+53
|
* formattingEscherichia2024-03-281-88/+133
|
* Should answer all comments, there are still some TODO: error message leftEscherichia2024-03-281-32/+32
|
* Added sanity_check and sanity_check_opt_meta helpers and changed sanity ↵Escherichia2024-03-281-8/+7
| | | | checks related cassert to these helpers to have a proper error message
* added a meta option field to norm_ctx and changed the meta used by some ↵Escherichia2024-03-281-1/+1
| | | | assert to the norm_ctx one
* Inverted meta and config argument orders (from meta -> config to config -> meta)Escherichia2024-03-281-77/+77
|
* Still need to fill the TODO: error message and check some meta but it buildsEscherichia2024-03-281-1/+1
|
* WIP: translate.ml and extract.ml do not compile. Some assert left to do and ↵Escherichia2024-03-281-91/+91
| | | | we need to see how translate_crate can give meta to the functions it calls
* WIP: does not compile yet because we need to propagate the meta variable.Escherichia2024-03-281-23/+23
|
* WIP Beginning working on better errors: began replacing raise (Failure) and ↵Escherichia2024-03-281-132/+134
| | | | assert by craise and cassert. Does not compile yet, still need to propagate the meta variable where it's relevant
* Improve the generation of pretty name and the micro passesSon Ho2024-03-201-1/+3
|
* Make good progress on adding generics to global constantsSon Ho2024-03-181-13/+19
|
* Make minor updatesSon Ho2024-03-171-7/+8
|
* Fix a small issue ollowing updates in CharonSon Ho2024-03-171-3/+8
|
* Add logging informationSon Ho2024-03-081-0/+7
|
* Fix an issue when merging the fwd/back functions of trait methodsSon Ho2023-12-221-9/+24
|
* Make good progress on merging the fwd/back functionsSon Ho2023-12-211-17/+30
|
* Rename some definitionsSon Ho2023-12-181-6/+6
|
* Update the interpreter to handle optional otherwise branchesSon Ho2023-12-131-1/+4
|
* Remove the type sv_kind ("symbolic value kind")Son Ho2023-12-051-2/+2
|
* Update following changes in CharonSon Ho2023-12-051-383/+413
|
* Add span information to the generated codeSon Ho2023-11-211-1/+1
|
* Rename PrimitiveValues to ValuesSon Ho2023-11-211-1/+0
|
* Start updating the name type, cleanup the names and the module abbrevsSon Ho2023-11-151-226/+212
|
* Make minor modificationsSon Ho2023-11-131-3/+27
|
* Add RegionsHierarchy.mlSon Ho2023-11-131-1/+1
|
* Add the "V" prefix to most variants related to valuesSon Ho2023-11-121-19/+19
|
* Prefix variants related to types with "T"Son Ho2023-11-121-4/+4
|
* Remove the 'r type variable from the ty type definitionSon Ho2023-11-121-64/+54
|
* Add some debugging informationSon Ho2023-10-241-0/+7
|
* Remove some assumed types and add more support for builtin definitionsSon Ho2023-10-231-94/+6
|
* Start updating to handle function pointersSon Ho2023-10-201-34/+44
|
* Add supSon Ho2023-10-131-1/+1
|
* Cleanup a bitSon Ho2023-09-191-10/+10
|
* Normalize the function signatures before translation to pureSon Ho2023-09-171-61/+0
|
* Make progress on correctly extracting trait method callsSon Ho2023-09-171-13/+20
|