48d2c009fb
fix string parsing and error output
2024-10-28 18:44:05 -04:00
5ee06de1ba
new error output, fix export
2024-10-28 13:51:23 -04:00
db6750c481
fix: exiting repl on newline and weird behaviour in discord bot
2024-10-27 23:21:13 -04:00
83ac160a42
fix tokenizer on string inputs
2024-10-27 22:56:10 -04:00
c29f689252
new error handling!
2024-10-27 22:01:20 -04:00
ca6b977220
actually use self.next_char_while
2024-10-26 17:01:47 -04:00
ef283fd02f
add more useful error messages (only undefined identifer uses the new information)
2024-10-26 16:58:27 -04:00
3ddec422fb
differentiate floor and regular division
2024-10-25 22:48:10 -04:00
a28dedb1ea
support code generation through () blocks
2024-10-25 20:55:07 -04:00
ae7600ba81
fix type parsing bugs
2024-10-23 22:10:48 -04:00
3027ef4820
add export keyword
2024-10-19 22:13:41 -04:00
44e5d74e5e
add statements and bug fix for arrays
2024-10-19 00:22:40 -04:00
f2cfb03fa1
function, object, parser, and executer rewrites
2024-10-18 02:21:31 -04:00
9f64446687
basic array functions
2024-10-17 00:32:17 -04:00
329af77ff4
add noexec operator to pass named functions to functions
2024-10-16 17:04:25 -04:00
d0661512c9
correctly parse lambdas
2024-10-16 16:50:57 -04:00
283f5cdb41
re-implement lambdas
2024-10-16 16:34:36 -04:00
7dc88b8fb0
new function parsing
2024-10-16 15:30:38 -04:00
34077344ca
add function parameters and type declarations
2024-10-16 01:14:26 -04:00
5701bf8268
add more bool operators
2024-10-15 18:22:48 -04:00
52c22c8f35
fix: . operator broken (temporary fix
2024-10-15 16:58:45 -04:00
3fe7ba9a77
this branch is unreachable
2024-10-15 16:46:24 -04:00
92f6d43fa0
major tokenizer fixes
2024-10-15 16:29:51 -04:00
f571fac6f1
add lists
...
these will eventually become arrays when the type-system gets overhauled and makes it easier to implement new types and the functions and operators they support
2024-10-15 15:05:12 -04:00
e0e33c868b
add print builtin function
2024-10-15 00:28:39 -04:00
7e8009617e
fix order so keywords get parsed correctly
2024-10-14 23:58:30 -04:00
3fe09ad4e4
tokenizer rewrite
2024-10-14 20:36:28 -04:00
cf13c4ef53
half-implement new tokenizer
2024-10-14 19:32:51 -04:00
1e053f840e
fix many warnings
2024-10-14 16:37:02 -04:00
c1a514dd9d
documentation and cargo.toml changes
2024-10-14 16:26:56 -04:00
d5e64abcdb
remove unsupported unary - operator
2024-10-14 16:14:02 -04:00
4994785233
initial commit
2024-10-14 16:13:22 -04:00