Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Factor out code in ExtractBuiltin.ml | Son Ho | 2024-05-29 | 1 | -162/+122 |
| | |||||
* | Update compiler/ExtractBuiltin.ml | Son HO | 2024-04-26 | 1 | -1/+1 |
| | | | Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com> | ||||
* | Update the backend and ExtractBuiltin.ml | Son Ho | 2024-04-25 | 1 | -1/+4 |
| | |||||
* | Merge branch 'main' into core-option-unwrap | Son Ho | 2024-04-25 | 1 | -0/+25 |
|\ | |||||
| * | compiler: introduce Lean-only translations | Ryan Lahfa | 2024-04-24 | 1 | -10/+25 |
| | | | | | | | | | | | | | | | | | | | | On the long run, all backends will not have equivalent or equal support for extraction. This introduces a function to filter out some Lean-only definitions in our various arrays of core functions. Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr> | ||||
| * | compiler: map `core::option::Option::is_none` to `Option.isNone` | Ryan Lahfa | 2024-04-24 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | Our backend already have support for `isNone`, we just map it and filter out passing the actual type as it can be inferred via implicit types. Other backends than Lean are not done in this commit. Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr> | ||||
| * | compiler: map `core::mem::swap` to the pure swap | Ryan Lahfa | 2024-04-24 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | In the pure functional model, `swap` is mostly about borrow checking and should simplify to the pure swap in our backends. Other backends than Lean are not done in this commit. Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr> | ||||
| * | compiler: map `core::option::Option::take` to identity function | Ryan Lahfa | 2024-04-17 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | `take` in a pure functional model is the identity function and everything related to borrow checking is handled by the forward/backward mechanism. Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr> | ||||
* | | Add core::option::unwrap builtin | Zyad Hassan | 2024-04-24 | 1 | -0/+2 |
|/ | |||||
* | Add more definitions to the Lean library | Son Ho | 2024-04-12 | 1 | -0/+73 |
| | |||||
* | Start adding integer functions to the Lean library | Son Ho | 2024-04-12 | 1 | -47/+142 |
| | |||||
* | Update the bindings for the extraction | Son Ho | 2024-04-12 | 1 | -14/+11 |
| | |||||
* | Add builtins for some checked ops such as checked_add | Zyad Hassan | 2024-04-03 | 1 | -0/+31 |
| | |||||
* | Update a builtin name | Son Ho | 2024-03-11 | 1 | -1/+1 |
| | |||||
* | Update the builtin name patterns | Son Ho | 2024-03-10 | 1 | -23/+66 |
| | |||||
* | Make progress on propagating the changes | Son Ho | 2024-03-08 | 1 | -6/+5 |
| | |||||
* | Remove the option to split fwd/back functions and update SymbolicToPure | Son Ho | 2024-03-08 | 1 | -87/+44 |
| | |||||
* | Update the library for F* | Son Ho | 2023-12-22 | 1 | -0/+8 |
| | |||||
* | Add the alloc::string::String type in the builtins | Son Ho | 2023-11-24 | 1 | -3/+12 |
| | |||||
* | Make a minor modification | Son Ho | 2023-11-22 | 1 | -2/+3 |
| | |||||
* | Use NameMatcher.NameMatcherMap instead of associative lists | Son Ho | 2023-11-22 | 1 | -5/+14 |
| | |||||
* | Reorganize the "Extract" files | Son Ho | 2023-11-21 | 1 | -15/+10 |
| | |||||
* | Update more names | Son Ho | 2023-11-21 | 1 | -6/+7 |
| | |||||
* | Fix issues with the builtin names | Son Ho | 2023-11-21 | 1 | -48/+83 |
| | |||||
* | Fix minor issues | Son Ho | 2023-11-20 | 1 | -3/+5 |
| | |||||
* | Fix minor issues | Son Ho | 2023-11-20 | 1 | -2/+0 |
| | |||||
* | Use the name matcher implemented in Charon | Son Ho | 2023-11-20 | 1 | -260/+134 |
| | |||||
* | Start updating the name type, cleanup the names and the module abbrevs | Son Ho | 2023-11-15 | 1 | -3/+10 |
| | |||||
* | Make the traits work for Coq | Son Ho | 2023-11-09 | 1 | -1/+11 |
| | |||||
* | Make minor modifications and update the array test for F* | Son Ho | 2023-10-26 | 1 | -1/+4 |
| | |||||
* | Fix some issues and regenerate the HashmapMain example for Lean | Son Ho | 2023-10-26 | 1 | -1/+10 |
| | |||||
* | Improve the handling of saved function effects in ExtractBuiltin.ml | Son Ho | 2023-10-26 | 1 | -13/+27 |
| | |||||
* | Make progress on fixing the extraction | Son Ho | 2023-10-26 | 1 | -8/+24 |
| | |||||
* | Improve ExtractBuiltin.ml | Son Ho | 2023-10-26 | 1 | -37/+49 |
| | |||||
* | Fix more issues at extraction and factor out defs in ExtractBuiltin | Son Ho | 2023-10-26 | 1 | -260/+143 |
| | |||||
* | Make the hashmap files typecheck again in Lean | Son Ho | 2023-10-25 | 1 | -347/+162 |
| | |||||
* | Fix some issues at extraction and add builtins | Son Ho | 2023-10-25 | 1 | -5/+299 |
| | |||||
* | Handle properly the builtin, non fallible functions | Son Ho | 2023-10-24 | 1 | -1/+33 |
| | |||||
* | Start taking into account non-fallible functions like core::mem::replace | Son Ho | 2023-10-24 | 1 | -0/+8 |
| | |||||
* | Fix minor issues | Son Ho | 2023-10-24 | 1 | -4/+4 |
| | |||||
* | Filter some type arguments for the builtin types/functions | Son Ho | 2023-10-24 | 1 | -8/+7 |
| | |||||
* | Add support for builtin trait implementations | Son Ho | 2023-10-24 | 1 | -0/+34 |
| | |||||
* | Fix various issues with the builtins | Son Ho | 2023-10-24 | 1 | -20/+62 |
| | |||||
* | Make progress on handling the builtins | Son Ho | 2023-10-23 | 1 | -42/+51 |
| | |||||
* | Remove some assumed types and add more support for builtin definitions | Son Ho | 2023-10-23 | 1 | -0/+468 |