Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Eval Thunk by move | Nadrieril | 2020-01-30 | 1 | -4/+3 |
| | |||||
* | Get rid of all the manual Ref borrows | Nadrieril | 2020-01-30 | 1 | -115/+55 |
| | |||||
* | Use OnceCell to enable returning &ValKind | Nadrieril | 2020-01-30 | 1 | -68/+53 |
| | |||||
* | Replace Form with a pair of RefCells, in preparation for OnceCell | Nadrieril | 2020-01-30 | 1 | -88/+71 |
| | |||||
* | Move Form::PartialExpr into Thunk | Nadrieril | 2020-01-30 | 1 | -36/+46 |
| | |||||
* | Only the Form must be in a RefCell | Nadrieril | 2020-01-30 | 1 | -61/+67 |
| | |||||
* | Avoid unnecessary allocations of `Value`s | Nadrieril | 2020-01-30 | 3 | -22/+21 |
| | |||||
* | Clarify normalization to ensure we only nze once | Nadrieril | 2020-01-30 | 3 | -54/+52 |
| | |||||
* | Move Thunk value into ValueInternal | Nadrieril | 2020-01-30 | 2 | -35/+32 |
| | |||||
* | Prepare ValueInternal with new `Form`s | Nadrieril | 2020-01-30 | 1 | -53/+50 |
| | |||||
* | Factor out text literals in Value | Nadrieril | 2020-01-30 | 2 | -39/+87 |
| | | | | This allows encapsulating invariants properly and reducing clutter | ||||
* | Remove type parameter from ValueKind | Nadrieril | 2020-01-30 | 2 | -22/+16 |
| | |||||
* | Remove Value visitor | Nadrieril | 2020-01-30 | 3 | -309/+87 |
| | | | | | | It's mostly useful when we can change types, but it's also too constraining if we can, because then we can't enforce complex invariants like the one for TextLit. | ||||
* | Move main API to lib.rs | Nadrieril | 2020-01-30 | 2 | -2/+2 |
| | |||||
* | Move normalize under nze | Nadrieril | 2020-01-30 | 3 | -3/+510 |
| | |||||
* | Move Value-related stuff under semantics::nze | Nadrieril | 2020-01-30 | 4 | -0/+906 |
| | |||||
* | Encapsulate partially applied builtin in a separate struct | Nadrieril | 2020-01-30 | 1 | -8/+0 |
| | |||||
* | No need for the current env to tck Foo/build closures | Nadrieril | 2020-01-30 | 1 | -9/+2 |
| | |||||
* | Cleanup variable handling | Nadrieril | 2020-01-29 | 1 | -1/+1 |
| | |||||
* | Move envs to their own files | Nadrieril | 2020-01-29 | 3 | -118/+89 |
| | |||||
* | Finally get rid of all of the shift/subst_shift ! | Nadrieril | 2020-01-29 | 1 | -3/+0 |
| | |||||
* | s/QuoteEnv/VarEnv/ | Nadrieril | 2020-01-29 | 1 | -7/+6 |
| | |||||
* | Use NameEnv in tyexpr_to_expr | Nadrieril | 2020-01-29 | 1 | -17/+14 |
| | |||||
* | Remove dead code | Nadrieril | 2020-01-29 | 1 | -396/+15 |
| | |||||
* | Thread env through nztion to fix Foo/build closures | Nadrieril | 2020-01-28 | 1 | -0/+5 |
| | |||||
* | Fix all sorts of variable shenanigans | Nadrieril | 2020-01-28 | 1 | -8/+26 |
| | |||||
* | Fix a bunch of bugs and more tck | Nadrieril | 2020-01-27 | 1 | -7/+17 |
| | |||||
* | Fix some variable shifting failures | Nadrieril | 2020-01-24 | 1 | -0/+8 |
| | |||||
* | Implement basic env-based normalization for Value-based TyExpr | Nadrieril | 2020-01-23 | 1 | -0/+2 |
| | |||||
* | Prepare Value for reverse variables | Nadrieril | 2020-01-21 | 2 | -2/+14 |
| | | | | I thought it would work ><. It's a bit too early | ||||
* | Split TyEnv into two envs | Nadrieril | 2020-01-20 | 1 | -102/+152 |
| | |||||
* | Reimplement basic tck/nze with proper environments | Nadrieril | 2020-01-20 | 2 | -0/+401 |
Inspired from dhall_haskell |