Commit Graph

25 Commits

Author SHA1 Message Date
1f9147187d Make docstring tests use an actual expression AST instead of text
matching
2025-03-25 15:40:59 -04:00
ac3a02b80b Add version check for GNU MP's prev_prime() 2025-03-21 16:19:59 -04:00
147e0f0269 Overhaul of constructors, making it more consistent and correct. Also
changed T(), T, T_t, T_s type names to T(), T$$info, T$$type, T$$struct
for unambiguity
2025-03-05 18:20:54 -05:00
695049bef9 Add integer tests 2024-12-24 14:20:55 -05:00
2c904ff173 Go back to stringifying integers/num32s/bytes without the type
constructor.
2024-11-19 13:41:52 -05:00
b8d7eabc02 Deprecate bit-width integer/num literals in favor of using type
constructors
2024-11-05 15:18:32 -05:00
d0ebb66b30 Fix up test to use RNGs 2024-11-03 22:39:46 -05:00
39a58bc129 Clean up behavior and syntax for unsigned bit shifts (<<<, >>>) 2024-11-03 16:06:26 -05:00
3743913ce2 Add unsigned integer shifts 2024-11-03 15:48:13 -05:00
0b7a0dd043 Change reducers to use (OP: ...) syntax and return an optional value 2024-11-02 20:22:19 -04:00
a56ce0435d Support Int(yes/no) 2024-09-24 12:40:56 -04:00
e422079fcc Add a Byte datatype 2024-09-15 15:33:47 -04:00
64143f0a13 Syntax overhaul (comments back to #, print statments to !!),
using `$/.../` for patterns and using a DSL for patterns
2024-09-03 13:19:41 -04:00
a49870f810 Add primality testing and next_prime()/prev_prime() 2024-08-18 15:22:51 -04:00
f4b04a1b8c Improved syntax for dollar-string literals 2024-08-18 14:44:15 -04:00
bac188ce07 Change division and modulus to use euclidean division, plus fix up a few
integer bugs
2024-08-16 14:24:20 -04:00
5a0502bdf5 Fix some edge cases 2024-08-13 14:13:02 -04:00
80af2ea547 Fixes 2024-08-13 02:21:21 -04:00
158a1c6ad2 More fixes 2024-08-13 02:09:18 -04:00
3c0a8f0b89 Syntax tweak: use ':' for blocks 2024-04-28 14:58:55 -04:00
6308325252 Add constructor/casting for ints and nums 2024-04-23 13:12:49 -04:00
6c01eef851 Introducing the main() function 2024-04-12 13:09:31 -04:00
c5f315e338 Num methods 2024-03-03 16:44:45 -05:00
bf5a725345 Definitively go with "Int" and "Num" over "Int64" and "Num64", plus add
Int__bits()
2024-03-03 13:37:05 -05:00
65f684fb6a Rename file extensions 2024-02-24 16:07:52 -05:00