1
0
forked from GitHub/gf-core
Commit Graph

80 Commits

Author SHA1 Message Date
Eve
f64d6b045b Revert bubble re-implementation 2025-05-26 18:21:04 +02:00
Eve
9c422c8224 Type annotations for option labels + new bubble impl 2025-05-26 18:16:49 +02:00
Eve
6429ed7148 Choice-splitting versions of mapVariants and mapConstVs 2025-05-26 18:13:11 +02:00
Krasimir Angelov
e54f748efa serialization for Markup and Reset 2025-05-18 07:08:11 +02:00
Krasimir Angelov
03421f6bc7 fix in the typechecking of one and default 2025-05-09 19:15:28 +02:00
Krasimir Angelov
d54fab0bbf fix typo 2025-05-09 19:10:51 +02:00
Krasimir Angelov
3d7c8ade17 a draft for the generalized control operators 2025-05-09 18:58:27 +02:00
Krasimir Angelov
544bbd9049 special handling for empty variants in the bubbling 2025-05-05 11:46:50 +02:00
Krasimir Angelov
d5e3e8f649 whitespace 2025-05-03 07:32:06 +02:00
Krasimir Angelov
4c0644fd55 another bug in the typechecker 2025-05-03 07:31:44 +02:00
Krasimir Angelov
188b77b083 improvement on the typechecker 2025-05-02 13:52:17 +02:00
Krasimir Angelov
a9d4fecd33 added export for EPatt 2025-04-15 08:40:30 +02:00
Krasimir Angelov
cc4d07f168 Export a grammar in source format to JSON 2025-04-14 11:16:27 +02:00
Krasimir Angelov
c2d64efe68 cannonical export now may contain some resource modules with parameters 2025-04-11 10:47:43 +02:00
Eve
b29ec2a47a Option evaluation + basic repl support for option manipulation 2025-03-31 17:56:36 +02:00
Eve
8bd0d13dd6 Port builtin improvements to new evaluator + opt parsing 2025-03-31 17:54:06 +02:00
Eve
3de005f11c Replace open term check for predefs with canonical term check 2025-03-31 17:54:06 +02:00
Eve
223604526e Better predef evaluation semantics, avoid value2term 2025-03-31 17:54:06 +02:00
Krasimir Angelov
c95a526ca9 missed to add the JSON file 2025-03-27 14:29:38 +01:00
Krasimir Angelov
5dcd1108c7 take into account the result type during overload reasolution 2025-03-27 14:28:42 +01:00
Krasimir Angelov
e6c4775ade the JSON dump now supports the entire GF language 2025-03-26 14:56:08 +01:00
Krasimir Angelov
4c24fc904d another case for evaluation under a table 2025-03-21 07:00:58 +01:00
Krasimir Angelov
81d472235a function application under tables 2025-03-20 16:06:33 +01:00
Krasimir Angelov
b0d363c311 added missing cases 2025-03-17 19:06:41 +01:00
Krasimir Angelov
a7c0be2fd5 fix typo 2025-03-14 07:38:33 +00:00
Krasimir Angelov
b008aa7de0 sketch an implementation for reset 2025-03-13 19:01:18 +00:00
Krasimir Angelov
271991ef10 added missing cases for VMarkup 2025-03-10 16:38:18 +00:00
Krasimir Angelov
e59ae98aa1 export bubble 2025-03-10 16:08:55 +00:00
Krasimir Angelov
88ae6bff71 added missing case for VCRecType 2025-03-10 14:42:36 +00:00
Krasimir Angelov
22a22aacbb added evaluation for markup 2025-03-10 14:26:51 +00:00
Krasimir Angelov
854739eee4 support for non-flat forms 2025-03-10 15:22:59 +01:00
Krasimir Angelov
16f9f86248 start using the new typechecker and evaluator in the cc command 2025-03-10 15:22:31 +01:00
Krasimir Angelov
084ffa1ce9 fix quantification 2025-03-08 12:42:46 +00:00
Krasimir Angelov
344481634f the pure evaluator 2025-03-07 23:27:05 +00:00
Krasimir Angelov
364c8c023c switch to using pure functional evaluator 2025-03-07 20:50:28 +00:00
Krasimir Angelov
c9aadf7382 added missing case 2025-03-07 08:57:55 +01:00
Krasimir Angelov
176dcdf2fa import liftA2 2025-02-25 12:31:05 +00:00
Eve
19c5b410f2 Predef combinators 2025-02-21 15:25:25 +01:00
Eve
815dfcc2fc Unification for function types 2025-02-15 23:07:29 +01:00
Eve
265db698ac Dereference metavariables in types before structural inspections 2025-02-15 22:27:06 +01:00
Eve
b4b9974d54 More comprehensive open term check for builtin eval 2025-02-09 16:53:03 +01:00
Eve
80de452e6d Fix inverted check in implicit arg app type check, disambiguate implicit args in reapply instead of tcApp 2025-02-08 10:23:23 +01:00
Eve
4750ccfb7e Nondeterministic overload resolution in new type checker 2025-02-04 14:14:16 +01:00
Eve
41cdf5e56a Load prelude in repl 2025-02-03 09:54:13 +01:00
Eve
8290f79f52 Rudimentary resource REPL in gf-compiler 2025-01-26 09:13:24 +01:00
Eve
3b58ccbeef Don't evaluate builtins with free variables as arguments 2025-01-26 01:14:25 +01:00
Eve
d9ed763ace Fix tcApp on pi types, split check/infer into variants inside and outside EvalM 2025-01-26 01:13:58 +01:00
Eve
1747b46274 Add alex/happy as build tool dependencies, bump up unix version in gf-compiler 2025-01-26 01:12:29 +01:00
Krasimir Angelov
ac427d63f2 fix compilation in -resource mode 2024-10-22 09:02:03 +02:00
Krasimir Angelov
3b36b381aa save use of jments 2024-10-22 08:30:51 +02:00