summaryrefslogtreecommitdiff
path: root/compiler/InterpreterExpressions.ml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update the interpreter so that it is not written in CPS style (#120)Escherichia2024-05-231-349/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Update charonNadrieril2024-05-061-3/+9
|
* Reformat the codeSon Ho2024-04-111-9/+6
|
* Trust rustc regarding `Copy` boundsNadrieril2024-04-101-5/+5
|
* Add some error messagesSon Ho2024-03-291-2/+5
|
* formatting and changed save_error condition for failing from b to not bEscherichia2024-03-291-8/+20
|
* added file and line arg to craise and cassertEscherichia2024-03-291-52/+52
|
* formattingEscherichia2024-03-281-70/+104
|
* Should answer all comments, there are still some TODO: error message leftEscherichia2024-03-281-34/+34
|
* Added sanity_check and sanity_check_opt_meta helpers and changed sanity ↵Escherichia2024-03-281-9/+9
| | | | 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-49/+49
|
* WIP: translate.ml and extract.ml do not compile. Some assert left to do and ↵Escherichia2024-03-281-92/+93
| | | | 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-47/+47
|
* Fix the extraction of trait constantsSon Ho2024-03-181-32/+17
|
* Update following changes in CharonSon Ho2024-03-171-4/+2
|
* Rename some definitionsSon Ho2023-12-181-3/+2
|
* Update the extraction to handle casts between integers/boolsSon Ho2023-12-131-2/+23
|
* Remove the type sv_kind ("symbolic value kind")Son Ho2023-12-051-9/+5
|
* Fix a minor issue with the use of const genericsSon Ho2023-12-051-7/+23
|
* Update following changes in CharonSon Ho2023-12-051-0/+1
|
* Merge branch 'main' into afromher_shiftsSon Ho2023-11-291-278/+301
|\
| * Rename PrimitiveValues to ValuesSon Ho2023-11-211-2/+1
| |
| * Use the name matcher implemented in CharonSon Ho2023-11-201-1/+1
| |
| * Start updating the name type, cleanup the names and the module abbrevsSon Ho2023-11-151-202/+185
| |
| * Add the "V" prefix to most variants related to valuesSon Ho2023-11-121-53/+53
| |
| * Prefix variants related to types with "T"Son Ho2023-11-121-8/+8
| |
| * Rename some variantsSon Ho2023-11-121-1/+1
| |
| * Remove the 'r type variable from the ty type definitionSon Ho2023-11-121-46/+44
| |
| * Fix some issues and regenerate the HashmapMain example for LeanSon Ho2023-10-261-1/+2
| |
| * Remove some assumed types and add more support for builtin definitionsSon Ho2023-10-231-66/+34
| |
| * Start updating to handle function pointersSon Ho2023-10-201-4/+5
| |
| * Add support for the trait associated constantsSon Ho2023-09-101-4/+36
| |
| * Start adding support for traitsSon Ho2023-08-311-14/+30
| |
| * Update following the introduction of ConstantExprSon Ho2023-08-181-8/+33
| |
* | Add support for Shl/Shr typechecking in InterpreterExpressionsAymeric Fromherz2023-09-221-1/+4
|/
* Fix an issue with the extraction of aggregated arraysSon Ho2023-08-031-3/+1
|
* Fix issuesSon Ho2023-08-031-3/+16
|
* Make progressSon Ho2023-08-021-26/+60
|
* Make progress proapagating the changesSon Ho2023-08-021-14/+15
|
* Implement a pass to filter shallow borrowsSon Ho2023-02-031-5/+4
|
* Add more loop examples and fix issuesSon Ho2023-02-031-6/+28
|
* Remove the meta-values from the shared and reserved borrow valuesSon Ho2023-02-031-9/+9
|
* Make [Result::Failure] type an [Error] parameterSon Ho2022-11-141-4/+4
|
* Implement a Config.ml file which groups all the global options in referencesSon Ho2022-11-101-9/+9
|
* Update `switch` to have a specific treatment of ADTsSon Ho2022-11-101-91/+5
|
* Rename "inactivated borrows" to "reserved borrows"Son Ho2022-11-071-7/+7
|
* Add some .mli filesSon Ho2022-11-071-27/+99
|
* Replace all the occurrences of `failwith ...` with `raise (Failure ...)`Son Ho2022-11-071-3/+5
|
* Move the AssignGlobal case from statement to rvalueSon Ho2022-10-281-2/+3
|