-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Candle: Kernel.compute and record syntax #906
Commits on May 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b0aa65e - Browse repository at this point
Copy the full SHA b0aa65eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7133ed3 - Browse repository at this point
Copy the full SHA 7133ed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31b7328 - Browse repository at this point
Copy the full SHA 31b7328View commit details
Commits on May 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 701e62c - Browse repository at this point
Copy the full SHA 701e62cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17ff675 - Browse repository at this point
Copy the full SHA 17ff675View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab76610 - Browse repository at this point
Copy the full SHA ab76610View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8826164 - Browse repository at this point
Copy the full SHA 8826164View commit details
Commits on May 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e2bbfe3 - Browse repository at this point
Copy the full SHA e2bbfe3View commit details
Commits on May 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ef52b57 - Browse repository at this point
Copy the full SHA ef52b57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 761b96c - Browse repository at this point
Copy the full SHA 761b96cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d88c827 - Browse repository at this point
Copy the full SHA d88c827View commit details -
Configuration menu - View commit details
-
Copy full SHA for d87d926 - Browse repository at this point
Copy the full SHA d87d926View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa3aecd - Browse repository at this point
Copy the full SHA aa3aecdView commit details
Commits on May 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e39717b - Browse repository at this point
Copy the full SHA e39717bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96d93ba - Browse repository at this point
Copy the full SHA 96d93baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93c15cf - Browse repository at this point
Copy the full SHA 93c15cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b9906c - Browse repository at this point
Copy the full SHA 4b9906cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28377fb - Browse repository at this point
Copy the full SHA 28377fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69f2343 - Browse repository at this point
Copy the full SHA 69f2343View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3b6b31 - Browse repository at this point
Copy the full SHA e3b6b31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a329ec - Browse repository at this point
Copy the full SHA 3a329ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 084be7c - Browse repository at this point
Copy the full SHA 084be7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d883b53 - Browse repository at this point
Copy the full SHA d883b53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48d24d2 - Browse repository at this point
Copy the full SHA 48d24d2View commit details
Commits on May 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3332755 - Browse repository at this point
Copy the full SHA 3332755View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee572d1 - Browse repository at this point
Copy the full SHA ee572d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a8825b - Browse repository at this point
Copy the full SHA 3a8825bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52b9bf6 - Browse repository at this point
Copy the full SHA 52b9bf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d56371 - Browse repository at this point
Copy the full SHA 2d56371View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c3b33a - Browse repository at this point
Copy the full SHA 4c3b33aView commit details -
Configuration menu - View commit details
-
Copy full SHA for aafd54e - Browse repository at this point
Copy the full SHA aafd54eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfc399e - Browse repository at this point
Copy the full SHA cfc399eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f87b1ec - Browse repository at this point
Copy the full SHA f87b1ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 185781e - Browse repository at this point
Copy the full SHA 185781eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96d03d8 - Browse repository at this point
Copy the full SHA 96d03d8View commit details
Commits on May 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cd51bab - Browse repository at this point
Copy the full SHA cd51babView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92eb065 - Browse repository at this point
Copy the full SHA 92eb065View commit details -
Configuration menu - View commit details
-
Copy full SHA for c342289 - Browse repository at this point
Copy the full SHA c342289View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49d1eb1 - Browse repository at this point
Copy the full SHA 49d1eb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f01c05 - Browse repository at this point
Copy the full SHA 7f01c05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2978a8e - Browse repository at this point
Copy the full SHA 2978a8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83ab3fb - Browse repository at this point
Copy the full SHA 83ab3fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddd3676 - Browse repository at this point
Copy the full SHA ddd3676View commit details
Commits on May 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c7909a8 - Browse repository at this point
Copy the full SHA c7909a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48cf2b1 - Browse repository at this point
Copy the full SHA 48cf2b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fae304 - Browse repository at this point
Copy the full SHA 0fae304View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebccffe - Browse repository at this point
Copy the full SHA ebccffeView commit details -
Rename NPR and num_pair types/values/defs
The new primitive is called 'compute' and operates on the 'compute_val' type, which is shortened _CVAL in the proofs about the deep embeddings.
Configuration menu - View commit details
-
Copy full SHA for ea24dbc - Browse repository at this point
Copy the full SHA ea24dbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37a757c - Browse repository at this point
Copy the full SHA 37a757cView commit details
Commits on May 13, 2022
-
Updates to compute theorem statements + fixes
- Updates the required compute theorems to have variable names match verbatim with what is defined in HOL Light - Removes the unused list items (we won't use them) but keeps some Bool items (as we'll use conditionals in v3). - Fixes a few annoying theorems
Configuration menu - View commit details
-
Copy full SHA for 2171d0b - Browse repository at this point
Copy the full SHA 2171d0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee05dc9 - Browse repository at this point
Copy the full SHA ee05dc9View commit details
Commits on May 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0f41e06 - Browse repository at this point
Copy the full SHA 0f41e06View commit details -
Add syntax for bools, chars and strings
Characters are defined from booleans, and strings are char lists as usual.
Configuration menu - View commit details
-
Copy full SHA for 0c41f09 - Browse repository at this point
Copy the full SHA 0c41f09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13b0571 - Browse repository at this point
Copy the full SHA 13b0571View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e5c2de - Browse repository at this point
Copy the full SHA 2e5c2deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2419200 - Browse repository at this point
Copy the full SHA 2419200View commit details
Commits on May 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 775464f - Browse repository at this point
Copy the full SHA 775464fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f34951e - Browse repository at this point
Copy the full SHA f34951eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65d336e - Browse repository at this point
Copy the full SHA 65d336eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4760cf7 - Browse repository at this point
Copy the full SHA 4760cf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02d29c9 - Browse repository at this point
Copy the full SHA 02d29c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75dcc42 - Browse repository at this point
Copy the full SHA 75dcc42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 537c05b - Browse repository at this point
Copy the full SHA 537c05bView commit details
Commits on May 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 12a4cb2 - Browse repository at this point
Copy the full SHA 12a4cb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f828dd0 - Browse repository at this point
Copy the full SHA f828dd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f75af4 - Browse repository at this point
Copy the full SHA 6f75af4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8b7fec - Browse repository at this point
Copy the full SHA d8b7fecView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3945e1 - Browse repository at this point
Copy the full SHA c3945e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d2c558 - Browse repository at this point
Copy the full SHA 9d2c558View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd22320 - Browse repository at this point
Copy the full SHA dd22320View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fceacb - Browse repository at this point
Copy the full SHA 9fceacbView commit details
Commits on May 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for eadaa2a - Browse repository at this point
Copy the full SHA eadaa2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63a0aed - Browse repository at this point
Copy the full SHA 63a0aedView commit details -
Configuration menu - View commit details
-
Copy full SHA for d292ff0 - Browse repository at this point
Copy the full SHA d292ff0View commit details
Commits on May 23, 2022
-
Move to substitution semantics
The substitution semantics gives a nicer theorem statement, as both sides of the equation share the same set of free variables.
Configuration menu - View commit details
-
Copy full SHA for d65b407 - Browse repository at this point
Copy the full SHA d65b407View commit details
Commits on May 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 08601c8 - Browse repository at this point
Copy the full SHA 08601c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for da6b933 - Browse repository at this point
Copy the full SHA da6b933View commit details -
Configuration menu - View commit details
-
Copy full SHA for 268586f - Browse repository at this point
Copy the full SHA 268586fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 595a951 - Browse repository at this point
Copy the full SHA 595a951View commit details
Commits on May 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a56dea0 - Browse repository at this point
Copy the full SHA a56dea0View commit details -
Split theories into several files
Separates implementations from proofs
Configuration menu - View commit details
-
Copy full SHA for 518b4c0 - Browse repository at this point
Copy the full SHA 518b4c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5405706 - Browse repository at this point
Copy the full SHA 5405706View commit details
Commits on May 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d2a1982 - Browse repository at this point
Copy the full SHA d2a1982View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91cea73 - Browse repository at this point
Copy the full SHA 91cea73View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2094e5 - Browse repository at this point
Copy the full SHA d2094e5View commit details
Commits on May 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5ba8c82 - Browse repository at this point
Copy the full SHA 5ba8c82View commit details
Commits on May 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 92fd6c1 - Browse repository at this point
Copy the full SHA 92fd6c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9467172 - Browse repository at this point
Copy the full SHA 9467172View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42fbbcc - Browse repository at this point
Copy the full SHA 42fbbccView commit details -
Configuration menu - View commit details
-
Copy full SHA for db5d36a - Browse repository at this point
Copy the full SHA db5d36aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3887375 - Browse repository at this point
Copy the full SHA 3887375View commit details -
Configuration menu - View commit details
-
Copy full SHA for b43d684 - Browse repository at this point
Copy the full SHA b43d684View commit details
Commits on Jun 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 54bc892 - Browse repository at this point
Copy the full SHA 54bc892View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b8c978 - Browse repository at this point
Copy the full SHA 0b8c978View commit details
Commits on Jun 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 17c02ee - Browse repository at this point
Copy the full SHA 17c02eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0c9fbd - Browse repository at this point
Copy the full SHA f0c9fbdView commit details -
Move compute expressions + semantics into own dir
This division looks a bit awkward (compute_syntax/ and compute/) but the idea is this: the actual compute expressions and their interpreter code do not depend on Candle functions, and are to be translated /before/ Candle. The rest of the compute code (under compute/) does depend on Candle, however, and must be translated after the Candle functions. With this change, the type, term and theorem types will be translated before the usual place in the Candle ml_hol_kernel_funsProgScript.sml
Configuration menu - View commit details
-
Copy full SHA for bd96374 - Browse repository at this point
Copy the full SHA bd96374View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b99573 - Browse repository at this point
Copy the full SHA 3b99573View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58c1e9e - Browse repository at this point
Copy the full SHA 58c1e9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59a750b - Browse repository at this point
Copy the full SHA 59a750bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 814627e - Browse repository at this point
Copy the full SHA 814627eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfd069e - Browse repository at this point
Copy the full SHA dfd069eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45b63b1 - Browse repository at this point
Copy the full SHA 45b63b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4864a7d - Browse repository at this point
Copy the full SHA 4864a7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e81c3dc - Browse repository at this point
Copy the full SHA e81c3dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d27b0a7 - Browse repository at this point
Copy the full SHA d27b0a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65c4804 - Browse repository at this point
Copy the full SHA 65c4804View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebb1abe - Browse repository at this point
Copy the full SHA ebb1abeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aacc52 - Browse repository at this point
Copy the full SHA 8aacc52View commit details
Commits on Jun 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3e2adcf - Browse repository at this point
Copy the full SHA 3e2adcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed92896 - Browse repository at this point
Copy the full SHA ed92896View commit details -
Configuration menu - View commit details
-
Copy full SHA for e042535 - Browse repository at this point
Copy the full SHA e042535View commit details -
Configuration menu - View commit details
-
Copy full SHA for dad7808 - Browse repository at this point
Copy the full SHA dad7808View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33b7857 - Browse repository at this point
Copy the full SHA 33b7857View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f2b566 - Browse repository at this point
Copy the full SHA 1f2b566View commit details -
Configuration menu - View commit details
-
Copy full SHA for de48b88 - Browse repository at this point
Copy the full SHA de48b88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 926148d - Browse repository at this point
Copy the full SHA 926148dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2b96e4 - Browse repository at this point
Copy the full SHA c2b96e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82c8324 - Browse repository at this point
Copy the full SHA 82c8324View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbcc09d - Browse repository at this point
Copy the full SHA fbcc09dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 237b7f3 - Browse repository at this point
Copy the full SHA 237b7f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5efea5a - Browse repository at this point
Copy the full SHA 5efea5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed5e154 - Browse repository at this point
Copy the full SHA ed5e154View commit details -
Configuration menu - View commit details
-
Copy full SHA for f647fe2 - Browse repository at this point
Copy the full SHA f647fe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc3e665 - Browse repository at this point
Copy the full SHA fc3e665View commit details -
Configuration menu - View commit details
-
Copy full SHA for b67a3a7 - Browse repository at this point
Copy the full SHA b67a3a7View commit details
Commits on Jun 4, 2022
-
Prove compute_eval always succeeds or diverges
compute_eval will either succeed or raise a <<timeout>> exception. Unfortunately the type checks in compute raises all sorts of exceptions if the type check fails, so this fact is not visible in the top-level theorem.
Configuration menu - View commit details
-
Copy full SHA for e2b5bf7 - Browse repository at this point
Copy the full SHA e2b5bf7View commit details
Commits on Jun 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 06f0fa9 - Browse repository at this point
Copy the full SHA 06f0fa9View commit details
Commits on Jun 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3f2a93b - Browse repository at this point
Copy the full SHA 3f2a93bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcfd05c - Browse repository at this point
Copy the full SHA dcfd05cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb4a1d9 - Browse repository at this point
Copy the full SHA fb4a1d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9ce89a - Browse repository at this point
Copy the full SHA a9ce89aView commit details
Commits on Jul 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 18d4960 - Browse repository at this point
Copy the full SHA 18d4960View commit details
Commits on Aug 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e6644ca - Browse repository at this point
Copy the full SHA e6644caView commit details
Commits on Aug 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c92d5fd - Browse repository at this point
Copy the full SHA c92d5fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for aaf0500 - Browse repository at this point
Copy the full SHA aaf0500View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5668ba7 - Browse repository at this point
Copy the full SHA 5668ba7View commit details
Commits on Aug 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3d1a916 - Browse repository at this point
Copy the full SHA 3d1a916View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d1c3c - Browse repository at this point
Copy the full SHA 71d1c3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae34144 - Browse repository at this point
Copy the full SHA ae34144View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c9c588 - Browse repository at this point
Copy the full SHA 1c9c588View commit details -
Configuration menu - View commit details
-
Copy full SHA for 166f04c - Browse repository at this point
Copy the full SHA 166f04cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7735b9 - Browse repository at this point
Copy the full SHA c7735b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb348b2 - Browse repository at this point
Copy the full SHA bb348b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47ee756 - Browse repository at this point
Copy the full SHA 47ee756View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fe70b1 - Browse repository at this point
Copy the full SHA 1fe70b1View commit details
Commits on Aug 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8173bfa - Browse repository at this point
Copy the full SHA 8173bfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4e3eeb - Browse repository at this point
Copy the full SHA c4e3eebView commit details
Commits on Aug 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fa167cd - Browse repository at this point
Copy the full SHA fa167cdView commit details
Commits on Aug 17, 2022
-
Write tests for Candle record syntax
Record syntax will be implemented as syntactic sugar in the parser. Declaring a record is done like this: type my_rec = Constr of { f1: t1; f2: t2; ...; fN: tN };; The above declaration is parsed into a datatype declaration and a series of function declarations for projection, update and construction: type my_rec = Constr t1 t2 ... tN (* Here, we assume that f1 < f2 < ... < fN; otherwise field names and types are sorted and re-ordered *) let __f1_record_upd (Constr f1 f2 ... fN) f1 = Constr f1 f2 ... fN;; let __f2_record_upd (Constr f1 f2 ... fN) f2 = ...;; ... let __f1_record_proj (Constr f1 f2 ... fN) = f1;; let __f2_record_proj (Constr f1 f2 ... fN) = f2;; ... let __record_constr_Constr_f1_f2_..._fN = fun f1 -> fun f2 -> ... -> fun fN -> Constr f1 f2 ... fN;; Records with non-distinct field names are rejected. The fields and types are ordered by the names of the fields. Internally, all records are regular datatypes. This makes it possible (but unreliable) to pattern match. For example: type myrec = Foo { b: int; a: bool };; let foo (Foo a b) = ... (* correct *) ;; let foo' (Foo b a) = ... (* incorrect *) ;; Projection is done with a dot: myRecValue . foo (* becomes __foo_record_proj myRecValue *) 'with' updates: myRecValue with foo := bar (* becomes __foo_record_upd myRecValue bar *)
Configuration menu - View commit details
-
Copy full SHA for d3e90e7 - Browse repository at this point
Copy the full SHA d3e90e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c268499 - Browse repository at this point
Copy the full SHA c268499View commit details -
Configuration menu - View commit details
-
Copy full SHA for a701ae0 - Browse repository at this point
Copy the full SHA a701ae0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e41a95 - Browse repository at this point
Copy the full SHA 5e41a95View commit details -
Change the record constructor rule in the PEG
The previous rule was missing the constructor name, which is needed to figure out what constructor function to call.
Configuration menu - View commit details
-
Copy full SHA for a4faa37 - Browse repository at this point
Copy the full SHA a4faa37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6249e94 - Browse repository at this point
Copy the full SHA 6249e94View commit details
Commits on Aug 18, 2022
-
Create record funs in TypeDefinition function
Changed the function that deals with type definitions to also generate a sequence of projection/update/constructor functions for record type constructors. The functions are given names that are readable (in case they pop up in an error message) but impossible to get past the parser. Some syntactic criteria are checked (e.g., all field names under a single record constructor must be distinct), but other than that, the standard semantics is to simply overshadow previous definitions with the same name.
Configuration menu - View commit details
-
Copy full SHA for 6d54c8b - Browse repository at this point
Copy the full SHA 6d54c8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90d9c3f - Browse repository at this point
Copy the full SHA 90d9c3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc588d7 - Browse repository at this point
Copy the full SHA dc588d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c34f4e1 - Browse repository at this point
Copy the full SHA c34f4e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02508d5 - Browse repository at this point
Copy the full SHA 02508d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 194f506 - Browse repository at this point
Copy the full SHA 194f506View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0efec07 - Browse repository at this point
Copy the full SHA 0efec07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f9d661 - Browse repository at this point
Copy the full SHA 5f9d661View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca8f699 - Browse repository at this point
Copy the full SHA ca8f699View commit details -
Configuration menu - View commit details
-
Copy full SHA for c26e787 - Browse repository at this point
Copy the full SHA c26e787View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b3337a - Browse repository at this point
Copy the full SHA 2b3337aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cdd82c - Browse repository at this point
Copy the full SHA 0cdd82cView commit details
Commits on Aug 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f42d751 - Browse repository at this point
Copy the full SHA f42d751View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7de24a0 - Browse repository at this point
Copy the full SHA 7de24a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c54c60c - Browse repository at this point
Copy the full SHA c54c60cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0a6b48 - Browse repository at this point
Copy the full SHA b0a6b48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20ee4f8 - Browse repository at this point
Copy the full SHA 20ee4f8View commit details
Commits on Aug 21, 2022
-
Give record constructor arguments in correct order
A FOLDL had snuck in where a FOLDR was needed, meaning that the record constructor functions were defined with their arguments appearing backwards.
Configuration menu - View commit details
-
Copy full SHA for b9c2929 - Browse repository at this point
Copy the full SHA b9c2929View commit details -
Configuration menu - View commit details
-
Copy full SHA for c362b0a - Browse repository at this point
Copy the full SHA c362b0aView commit details
Commits on Aug 22, 2022
-
Wrap record constructor arguments in tuples if n>1
Without this it isn't possible to detect multi-argument records in pattern matching, because the parser does not accept multi-argument constructor patterns/expressions.
Configuration menu - View commit details
-
Copy full SHA for 09c6722 - Browse repository at this point
Copy the full SHA 09c6722View commit details
Commits on Aug 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f3908e0 - Browse repository at this point
Copy the full SHA f3908e0View commit details