2a987ae465
final version with Arc<Mutex<Object>>
2024-10-22 13:50:28 -04:00
d9a576897b
replace Rc with Arc so that Lamm may be used in an async context
2024-10-22 13:26:48 -04:00
0a40cca6ff
fix performance issue by using reference counting for objects
2024-10-22 13:18:26 -04:00
605a6ae460
parse empty array as [Any] where a type is expected]
2024-10-19 22:20:08 -04:00
3027ef4820
add export keyword
2024-10-19 22:13:41 -04:00
5a8354f1ad
update readme (unimplemented feature now implmeented)
2024-10-19 01:22:08 -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
34569248d3
fix parse error on undefined variables
2024-10-17 16:05:52 -04:00
d1082cb159
fix recursive functions
2024-10-17 15:53:00 -04:00
bf7ce174cd
print now prints strings without parens
2024-10-17 14:07:08 -04:00
6f5081568a
update README.md
2024-10-17 02:13:26 -04:00
f651c62c5c
update README.md
2024-10-17 02:10:06 -04:00
facd7d6680
update README.md
2024-10-17 02:07:59 -04:00
b116007dd5
update README.md
2024-10-17 02:04:10 -04:00
10e1be04d2
update README.md
2024-10-17 02:03:28 -04:00
9bd21e01f7
update README.md
2024-10-17 02:01:13 -04:00
d1c7a5dbbd
add README.md
2024-10-17 01:59:55 -04:00
3c163150a2
move repl to main.rs
2024-10-17 01:59:42 -04:00
c1c5d02011
fix lambda parsing
2024-10-17 00:48:54 -04:00
9f64446687
basic array functions
2024-10-17 00:32:17 -04:00
8c7993bacc
make any match any type
2024-10-16 17:10:27 -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
5eb647d448
insert arguments into local space
2024-10-16 16:44:12 -04:00
7b01ac45fc
re-implement lambdas
2024-10-16 16:38:28 -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
4784cc295e
display strings with quotation marks
2024-10-15 17:28:10 -04:00
0de9652360
remove println debugging
2024-10-15 17:26:58 -04:00
7a9a122765
parser fix, errors inside of an array actually return the error
2024-10-15 17:23:12 -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
ea61007301
random whitespace removal
2024-10-15 16:29:38 -04:00
376055b73f
fix: undefined functions in arrays
2024-10-15 15:14:24 -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
bc612f74ae
do not use a nightly feature
2024-10-15 01:23:12 -04:00
f9f5cb40e9
new Runtime object
2024-10-15 00:47:20 -04:00
e0e33c868b
add print builtin function
2024-10-15 00:28:39 -04:00
290393a62f
use a box for hashmap
2024-10-14 23:59:33 -04:00
7e8009617e
fix order so keywords get parsed correctly
2024-10-14 23:58:30 -04:00
a1b76956dc
use a box in executor
2024-10-14 21:55:34 -04:00
e52d71a2c0
add a hook to update the bot when lamm is updated
2024-10-14 20:49:35 -04:00
3fe09ad4e4
tokenizer rewrite
2024-10-14 20:36:28 -04:00
ffc3be91ee
Revert "rename repl to interpret"
...
This reverts commit 4b2fefd798 .
2024-10-14 19:38:07 -04:00
cf13c4ef53
half-implement new tokenizer
2024-10-14 19:32:51 -04:00
4b2fefd798
rename repl to interpret
2024-10-14 17:58:22 -04:00