Commit Graph

94 Commits

Author SHA1 Message Date
8f451d0271 Custom tostring functions working 2024-02-17 21:04:35 -05:00
26723deea2 Incremental fixes 2024-02-17 20:47:43 -05:00
6fcc7840d1 Clean up more binops 2024-02-17 20:25:31 -05:00
7cbd200624 Clean up some binops to use generic ops 2024-02-17 20:21:01 -05:00
01a05db217 Fix issue with doctesting typestrings 2024-02-17 20:09:59 -05:00
d0ad2c6bc1 Fix doctest color issue 2024-02-17 20:07:39 -05:00
b34c5c5774 Fix up doctests 2024-02-17 20:07:04 -05:00
f521a99d00 Use aliasing for Num -> Num64 2024-02-17 19:56:32 -05:00
30c5b1ec25 Use #defines for Int aliasing 2024-02-17 19:54:32 -05:00
dd2de31666 Fix up USE_COLOR 2024-02-17 19:52:37 -05:00
a09a8339e7 Clean up builtins 2024-02-17 19:35:35 -05:00
d46925dbfa Cleanup of builtins 2024-02-17 19:32:30 -05:00
7355b2f7fe Change things up to use type params for all array and table methods 2024-02-17 18:38:29 -05:00
1dcfbdc5c7 Rename 'cord' to 'as_str' 2024-02-17 17:44:17 -05:00
1bcf6bdc9a Add cord methods for getting typestrings 2024-02-17 17:35:16 -05:00
dbd7502a1d Fix up some builtins 2024-02-17 17:29:56 -05:00
5c49314ed4 Add typechecking logic 2024-02-17 17:00:21 -05:00
de3eeacfa0 Major cleanup 2024-02-17 16:56:19 -05:00
60f3e91b80 Minor cleanup 2024-02-17 14:54:19 -05:00
58a0b6c6e1 Fix up some cord stuff in main program compilation 2024-02-17 14:53:10 -05:00
5d2d54ae0e Tweak cord formatting 2024-02-17 14:47:14 -05:00
605eb45626 Fix table_from_entries() 2024-02-17 14:37:19 -05:00
81ed05c7f8 Fixing up table stuff 2024-02-17 14:29:21 -05:00
9477195098 Fixing things up 2024-02-17 14:28:12 -05:00
cf88dc8af5 Remove make rule for deleted file 2024-02-17 14:25:19 -05:00
b6f91fd2fd Docs 2024-02-17 14:20:55 -05:00
21a35cbc45 Getting back to old typeinfo stuff from SSS 2024-02-17 14:20:14 -05:00
8ebf9bd3ad Tweaks 2024-02-16 13:45:30 -05:00
f156f915f4 Moving builtin strings over to cords 2024-02-16 13:29:02 -05:00
317b8f5319 Progress towards environments 2024-02-15 13:43:46 -05:00
0577469f9c Bit flags for enums too 2024-02-14 23:45:37 -05:00
f2307aee53 Make bools more compact 2024-02-14 23:44:39 -05:00
9901f09ca4 Syntax tweaks and cleanup 2024-02-14 13:43:23 -05:00
89ccb4f928 Switch back to TCC 2024-02-14 13:29:19 -05:00
2d9afed93a Use dollar identifiers 2024-02-14 13:28:28 -05:00
2864523eea Fix ldflags for compiling with GCC and add trapping integer arithmetic 2024-02-14 01:24:04 -05:00
284ccbc861 Fix up some GCC complaints 2024-02-14 01:12:57 -05:00
1af5ab6d4e Add #line directives for source code mapping 2024-02-14 00:19:16 -05:00
b3e0f11644 Change parser so it only supports defs at the top level 2024-02-14 00:14:04 -05:00
b71624abff Fix floating point literals to be exactly precise 2024-02-13 23:37:24 -05:00
1f2b288b32 Slightly more concise generated code for ints 2024-02-13 23:12:20 -05:00
b3f61e16ce Tweak whitespace formatting 2024-02-13 23:03:58 -05:00
c11122caaf Remove comment divider 2024-02-13 23:00:08 -05:00
635560f4ef Whitespace tweaks 2024-02-13 22:58:50 -05:00
187cbc7610 Whitespace and ordering tweaks 2024-02-13 22:56:10 -05:00
85bd567d3c Add kwargs as a macro hack 2024-02-13 22:13:54 -05:00
853b8e505e Add secret structs 2024-02-13 20:27:19 -05:00
c60b21bf3c Update docs 2024-02-13 19:59:51 -05:00
1a0bd10d3d Tweak interp rules 2024-02-13 19:57:46 -05:00
b3c6fb80b3 Add 'Int' -> 'Int64' and 'Num' -> 'Num64' aliases 2024-02-13 14:43:39 -05:00