summaryrefslogtreecommitdiff
path: root/compiler/Invariants.ml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update the interpreter so that it is not written in CPS style (#120)Escherichia2024-05-231-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 a commentSon HO2024-04-111-1/+1
|
* Trust rustc regarding `Copy` boundsNadrieril2024-04-101-1/+1
|
* Cleanup a bit and improve the error messagesSon Ho2024-04-071-3/+2
|
* formatting and changed save_error condition for failing from b to not bEscherichia2024-03-291-16/+45
|
* added file and line arg to craise and cassertEscherichia2024-03-291-89/+89
|
* formattingEscherichia2024-03-281-44/+80
|
* Should answer all comments, there are still some TODO: error message leftEscherichia2024-03-281-82/+82
|
* Added sanity_check and sanity_check_opt_meta helpers and changed sanity ↵Escherichia2024-03-281-2/+2
| | | | checks related cassert to these helpers to have a proper error message
* WIP: translate.ml and extract.ml do not compile. Some assert left to do and ↵Escherichia2024-03-281-84/+84
| | | | we need to see how translate_crate can give meta to the functions it calls
* WIP Beginning working on better errors: began replacing raise (Failure) and ↵Escherichia2024-03-281-34/+35
| | | | assert by craise and cassert. Does not compile yet, still need to propagate the meta variable where it's relevant
* Rename some definitionsSon Ho2023-12-181-1/+1
|
* Do not activate the sanity (invariant) checks by defaultSon Ho2023-11-271-1/+1
|
* Rename PrimitiveValues to ValuesSon Ho2023-11-211-2/+1
|
* Start updating the name type, cleanup the names and the module abbrevsSon Ho2023-11-151-142/+128
|
* Add the "V" prefix to most variants related to valuesSon Ho2023-11-121-143/+134
|
* Prefix variants related to types with "T"Son Ho2023-11-121-6/+6
|
* Remove the 'r type variable from the ty type definitionSon Ho2023-11-121-26/+41
|
* Remove some assumed types and add more support for builtin definitionsSon Ho2023-10-231-13/+2
|
* Start adding support for traitsSon Ho2023-08-311-23/+44
|
* Fix issuesSon Ho2023-08-031-2/+14
|
* Make minor modificationsSon Ho2023-08-021-0/+3
|
* Make progress proapagating the changesSon Ho2023-08-021-19/+24
|
* Add more loop examples and fix issuesSon Ho2023-02-031-1/+1
|
* Implement support for nested borrows in loops, and add loop testsSon Ho2023-02-031-1/+8
|
* Update the comments in Values and make minor modificationsSon Ho2023-02-031-2/+2
|
* Remove the meta-value field from AMutBorrowSon Ho2023-02-031-5/+5
|
* Remove the APrimitive variant from the avaluesSon Ho2023-02-031-2/+0
|
* Remove the meta-values from the shared and reserved borrow valuesSon Ho2023-02-031-4/+3
|
* Make progress on the environment matchesSon Ho2023-02-031-2/+6
|
* Start implementing support for loopsSon Ho2023-02-031-15/+9
|
* Implement a Config.ml file which groups all the global options in referencesSon Ho2022-11-101-10/+9
|
* Update some commentsSon Ho2022-11-071-1/+1
|
* Rename "inactivated borrows" to "reserved borrows"Son Ho2022-11-071-8/+8
|
* Replace all the occurrences of `failwith ...` with `raise (Failure ...)`Son Ho2022-11-071-17/+19
|
* Move constant_value to PrimitiveValues.mlSon Ho2022-10-271-6/+7
|
* Reorganize a bit the projectSon Ho2022-10-271-0/+794