Commit Graph

57 Commits

Author SHA1 Message Date
5157988efa Implement 'extern' functionality 2024-03-24 15:06:59 -04:00
a47bd2d569 Improvements to module imports 2024-03-19 23:29:32 -04:00
adbb07fdc2 Module imports 2024-03-19 14:22:03 -04:00
7c0a77df33 Handle function type annotations without returns better 2024-03-18 15:27:07 -04:00
d39e0aca2e Implement parsing of 'pass' 2024-03-18 13:49:42 -04:00
df2e01c15e Add some better file comments 2024-03-18 12:47:07 -04:00
46ee3fc0ef Temporary fix for newlines between statements 2024-03-17 15:59:06 -04:00
1647fb4bed Unary ops should only parse terms not full expressions 2024-03-17 15:23:42 -04:00
9932841530 Improve comprehensions for both arrays and tables 2024-03-17 14:46:36 -04:00
ecf425fb9a Rearrange expression/statement compilation code 2024-03-14 13:28:30 -04:00
d5d3f564bb Remove some shadowed variables 2024-03-14 02:48:07 -04:00
fdc3eadba2 Array comprehensions 2024-03-14 02:37:56 -04:00
a33f730617 Rearranging some files 2024-03-10 00:03:21 -05:00
a1605672d9 Add explicit check for space indentation 2024-03-09 23:16:23 -05:00
cbdd357b41 Deprecate secret langs (just use one-member structs) 2024-03-09 19:02:13 -05:00
2b83ab279d Add langs to the language 2024-03-09 18:22:12 -05:00
fa66053e13 Use '$' for min/max variable 2024-03-07 12:15:38 -05:00
98d86d1934 Support method calls for reductions 2024-03-07 12:11:18 -05:00
38d5245a9a Fix up some min/max stuff 2024-03-05 14:46:01 -05:00
e29aa52460 Struct and enum methods and static members 2024-03-04 13:51:47 -05:00
8fab88c56f Rename Str -> Text 2024-03-03 18:15:45 -05:00
07f0a18136 Fix endptr stuff in parser 2024-03-03 17:52:22 -05:00
0fe255a7c1 Fix up unicode escapes 2024-03-03 17:49:40 -05:00
2eafa7a4da Fix issue with unnamed args getting name flag 2024-03-03 17:21:55 -05:00
4dc70c84d4 First working method calls 2024-02-29 13:49:24 -05:00
741617a17e Add for-else block 2024-02-25 16:02:36 -05:00
106704b956 Improve enums with metamethods 2024-02-24 15:24:44 -05:00
e59ad7befb Deprecate arr[.field] for now 2024-02-24 12:52:56 -05:00
9aec32149f Code cleanup for KeywordArg 2024-02-23 12:50:01 -05:00
58b3b84bd9 Fix up some update operators 2024-02-22 13:26:43 -05:00
2ecd8e11fd Implement 'when' statement for matching on enums 2024-02-22 12:45:12 -05:00
e5f706b258 Change syntax back to "enum(...)" and "struct(...)" 2024-02-18 02:07:12 -05:00
eabff011ea Add in '#' operator for length 2024-02-18 01:27:25 -05:00
d46925dbfa Cleanup of builtins 2024-02-17 19:32:30 -05:00
de3eeacfa0 Major cleanup 2024-02-17 16:56:19 -05:00
317b8f5319 Progress towards environments 2024-02-15 13:43:46 -05:00
9901f09ca4 Syntax tweaks and cleanup 2024-02-14 13:43:23 -05:00
b3e0f11644 Change parser so it only supports defs at the top level 2024-02-14 00:14:04 -05:00
853b8e505e Add secret structs 2024-02-13 20:27:19 -05:00
1a0bd10d3d Tweak interp rules 2024-02-13 19:57:46 -05:00
73b79e0f69 Syntax tweak: doctest with ">>" and "= " 2024-02-12 02:10:10 -05:00
8631776f2f Tweak doctest formatting 2024-02-11 23:11:47 -05:00
ddd9f6e5d5 Fix operator precedence and boolification 2024-02-11 23:09:00 -05:00
8ef4638018 Improved strings and docs 2024-02-11 21:44:06 -05:00
542a67f68d Simplified string rules 2024-02-11 21:01:28 -05:00
1e8cdfa920 Changes to string parsing 2024-02-11 19:30:02 -05:00
79795096e7 Rename sss_* to just * 2024-02-11 19:06:42 -05:00
0567fcc8ac String parsing changes 2024-02-11 18:59:23 -05:00
37a0493b59 String literals as cords 2024-02-11 15:31:30 -05:00
23898b7618 Handle empty cords correctly 2024-02-11 15:22:32 -05:00