Commit graph

129 commits

Author SHA1 Message Date
danyaberezun
16d9f06afb add let and in as keywords; x=y can be used in expressions as sygar for compare(x,y) == 0 2024-07-11 15:19:22 +02:00
danyaberezun
120eccba66 add let-in as experimental sintax sugger 2024-07-11 15:19:22 +02:00
Danya Berezun
9170b9c860 move to dune; fix warnings 2023-09-04 21:43:28 +02:00
Dmitry Boulytchev
69c0b89e3c Switching off invalid hashconsing 2022-01-31 23:46:18 +03:00
Dmitry Boulytchev
7c7ef67e1d Promoted spec to 1.10 2021-02-01 09:52:28 +03:00
Dmitry Boulytchev
f1430a1cdf Length, string -> std functions 2021-01-31 22:57:12 +03:00
Dmitry Boulytchev
216e716251 local -> var; scope reformatted; singleton is killed finally 2021-01-31 22:25:31 +03:00
Dmitry Boulytchev
5ae88f820d unboxed -> val, boxed -> box 2021-01-31 21:07:17 +03:00
Dmitry Boulytchev
919cda5556 Converted repeat .. until .. -> do .. while .. od 2021-01-31 19:27:00 +03:00
Dmitry Boulytchev
297139c72a Return expression eliminated 2021-01-31 19:11:03 +03:00
Dmitry Boulytchev
7eb3e223b8 Merging with origin 2021-01-25 01:38:59 +03:00
Kakadu
1683207775 Prepare for a tool
Signed-off-by: Kakadu <Kakadu@pm.me>
2020-12-16 02:19:39 +03:00
Kakadu
c74757cbb7 src: Adding new switch and moving code from Driver to Language
Signed-off-by: Kakadu <Kakadu@pm.me>
2020-12-11 18:06:33 +03:00
Dmitry Boulytchev
53b2efc3b5 Bugfix (push/pop scopes) 2020-12-11 01:22:25 +03:00
Dmitry Boulytchev
66dc5c3063 Fix for https://github.com/JetBrains-Research/Lama/issues/16 2020-11-24 23:11:17 +03:00
Dmitry Boulytchev
8f01e5eb5b Fix for https://github.com/JetBrains-Research/Lama/issues/15 2020-11-24 01:51:11 +03:00
Dmitry Boulytchev
695ddc7d88 A fix for https://github.com/JetBrains-Research/Lama/issues/14 2020-10-31 02:59:20 +03:00
Dmitry Boulytchev
4c736914d4 Fix for https://github.com/JetBrains-Research/Lama/issues/10 2020-09-21 23:46:13 +03:00
Dmitry Boulytchev
9d0b8e811a Cosmetics; probably a fix for regexps 2020-05-04 02:45:34 +03:00
Dmitry Boulytchev
4386e6cfd0 Fixed syntac for syntax 2020-04-12 03:00:24 +03:00
Dmitry Boulytchev
690825f540 Better syntax syntax 2020-04-11 21:09:51 +03:00
Dmitry Boulytchev
897af34aa9 Fixed bug in patters, pattern matching and tests 2020-02-24 01:08:09 +03:00
Dmitry Boulytchev
6cf2b15d40 Fixed regression Makefile 2020-02-20 13:25:11 +03:00
Dmitry Boulytchev
241ab0a9ae Patterns in arguments 2020-02-15 23:50:48 +03:00
Dmitry Boulytchev
f5f7f3ceb8 Eta-extension 2020-02-15 22:58:43 +03:00
Dmitry Boulytchev
ddc2121fcf Un-parameterized the parser 2020-02-14 21:09:26 +03:00
Dmitry Boulytchev
556ce81106 Better scoping in repeat/for, lazy expression (no implicit import yet) 2020-02-14 08:13:52 +03:00
Dmitry Boulytchev
cf78cd20e3 Opam/install 2020-02-13 18:56:27 +03:00
Dmitry Boulytchev
8a72ea6abc Extra-roots 2020-01-28 03:24:46 +03:00
Dmitry Boulytchev
39beebe875 Fixed bug in Language.ml 2020-01-27 22:08:16 +03:00
kverty
8f00033fa9 Language.ml new memoization errors fixed 2020-01-27 03:39:55 +03:00
Dmitry Boulytchev
c09a3b36b6 Initialization of separate units; fixed runtime 2020-01-26 06:06:14 +03:00
Dmitry Boulytchev
811c24d5a6 Parsing workaround 2020-01-24 22:30:49 +03:00
Dmitry Boulytchev
149984f5c0 Hash table 2020-01-16 06:59:34 +03:00
Dmitry Boulytchev
369f80f7e8 Fixed bug in gcc invocation; added stdlib tests 2020-01-14 17:08:35 +03:00
Dmitry Boulytchev
faca5c6e0e Better error reporting for infixes 2020-01-14 05:36:03 +03:00
Dmitry Boulytchev
a12f9337e9 Standard infix capturing 2020-01-14 05:15:19 +03:00
Dmitry Boulytchev
25ec856fba Better infixes 2020-01-14 03:30:17 +03:00
Dmitry Boulytchev
92f60665df Even better error reporting 2020-01-11 16:38:25 +03:00
Dmitry Boulytchev
b6180d8634 Better error reporting; synched with ostap 2020-01-05 22:54:09 +03:00
Dmitry Boulytchev
274bda6938 return fixed for real, tests added 2020-01-05 03:33:17 +03:00
Dmitry Boulytchev
644c1b3086 Fixed return (seems to be; no regression yet) 2020-01-05 01:26:13 +03:00
Dmitry Boulytchev
8658f1343b Better error reporting 2020-01-04 22:28:57 +03:00
Dmitry Boulytchev
cf2b696803 Synched with ostap 2019-12-31 00:59:28 +03:00
Dmitry Boulytchev
39437712c7 Not yet, but almost 2019-12-29 01:12:40 +03:00
Dmitry Boulytchev
f4467ec540 Fixed bug in parser; perhaps we need to scrap Ostap and go back to Yacc 2019-12-26 20:02:30 +03:00
Dmitry Boulytchev
59a7d48568 Stdlib: initial version 2019-12-26 00:17:34 +03:00
Dmitry Boulytchev
86a69f5e1a Fixed parser 2019-12-25 20:42:28 +03:00
Dmitry Boulytchev
711c8d2f12 Match failure implemented 2019-12-24 03:59:05 +03:00
Dmitry Boulytchev
de2955cbc9 Fixed ugly bug in nested function support 2019-12-23 21:05:57 +03:00