Commit Graph

1647 Commits

Author SHA1 Message Date
41d28764ee Print source code 2024-03-09 02:46:42 -05:00
13c9fda39f Simplify table def 2024-03-08 14:35:13 -05:00
8427037bb9 Refactor table methods to take table structs where possible 2024-03-08 14:33:54 -05:00
55eacb8a04 Array methods 2024-03-08 14:25:17 -05:00
07c2b0ec26 Array methods 2024-03-08 14:23:16 -05:00
8e62018546 Rename Array_random -> Array__random 2024-03-08 13:53:38 -05:00
6293d3dd91 Tweaks to memory printing and constness 2024-03-08 13:50:49 -05:00
55b4528da6 Tweak environment order of operations and resolutions 2024-03-08 13:39:27 -05:00
0e9dbb4f8a Bugfix arrays 2024-03-08 13:33:20 -05:00
139da8e55f Remove dead code 2024-03-08 13:04:18 -05:00
6bb1ebf031 Remove spurious promotion between structs 2024-03-08 13:04:04 -05:00
1677d7a1b9 Fix negative index issue and add array:random() 2024-03-08 13:00:29 -05:00
06549741aa Tweaking array tests 2024-03-07 12:21:39 -05:00
6583221c0b More tests 2024-03-07 12:18:01 -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
cd1785b5cb Added test 2024-03-07 12:07:14 -05:00
4e6001fa55 Add num32 test 2024-03-07 12:00:16 -05:00
9479b3937c Just use mathlib symbols, don't redefine them 2024-03-07 00:44:57 -05:00
080f3a4c2d Add '-c' compiler flag 2024-03-07 00:30:52 -05:00
425466ce6e Add 'if x := var' conditionals for optional pointers 2024-03-06 13:36:36 -05:00
93b8e0ae17 Support more variants of looping over integers 2024-03-06 12:56:30 -05:00
03f8742eb7 Fix namespace initializers 2024-03-06 12:41:18 -05:00
211af05381 Fix up some array literal stuff with TCC 2024-03-06 02:27:01 -05:00
4968d45f5a Fix array iteration by inlining 2024-03-06 02:15:23 -05:00
38d5245a9a Fix up some min/max stuff 2024-03-05 14:46:01 -05:00
558c8588ee Fix default values for structs 2024-03-05 12:55:38 -05:00
103edd6362 Fix cyclic structs/enums 2024-03-05 12:49:13 -05:00
e29aa52460 Struct and enum methods and static members 2024-03-04 13:51:47 -05:00
0b7ca098ae Fix some bugs relating to NUL termination of strings 2024-03-04 01:34:12 -05:00
1f6aa4cac7 Add methods for text:clusters(), text:codepoints(), text:bytes() 2024-03-03 19:40:01 -05:00
dc04286e3a Unicode normalization for equality, hashing, tests, and printing 2024-03-03 19:12:53 -05:00
d8a533cdf0 Rename string test to text 2024-03-03 18:19:56 -05:00
23478e7036 Rename as_str -> as_text 2024-03-03 18:16:33 -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
0c51ca73e0 String tests 2024-03-03 17:30:31 -05:00
9512eb74d2 Bugfix 2024-03-03 17:30:23 -05:00
94ab8c0ac6 Add some more tests 2024-03-03 17:24:46 -05:00
6a39b0cd3f Num tests 2024-03-03 17:23:54 -05:00
2eafa7a4da Fix issue with unnamed args getting name flag 2024-03-03 17:21:55 -05:00
c607b97732 Add Num.near() function 2024-03-03 17:14:11 -05:00
c5f315e338 Num methods 2024-03-03 16:44:45 -05:00
74c86176cb Tweaks and improvements to built-in functions 2024-03-03 16:26:10 -05:00
32f27b6206 Fix table literals 2024-03-03 16:08:38 -05:00
5486cdcedb Only put 'pragma once' in compiled header file 2024-03-03 15:22:22 -05:00
b8640a2c30 Bugfix for module name parsing 2024-03-03 15:18:15 -05:00
2a7cfd7c36 Fix table literal issue for TCC compatibility 2024-03-03 15:14:59 -05:00
00e7ce2bd0 Remove dup output 2024-03-03 15:14:24 -05:00