Mark
05c88b7826
fix variable shadowing not working (how was this not noticed until now??)
2024-02-22 19:13:50 +01:00
Mark
7bfdbca3a5
add pretty-print to mers cli
2024-02-22 16:30:39 +01:00
Mark
f3f2c13702
add loop syntax, remove loop function, change CLI
2024-02-22 13:34:02 +01:00
Mark
66c191ba2c
mers version to 0.5.0
2024-02-17 14:58:29 +01:00
Mark
931f70fe4c
add example 02 to mers_lib
2024-02-17 14:57:40 +01:00
Mark
2a981865a8
add mers/README.md
2024-02-17 14:47:42 +01:00
Mark
0c87c69743
add examples, prepare for new readme
2024-02-17 13:23:50 +01:00
Mark
5d752c9969
change parse_int/float and debug, add spawn_command and childproc_* functions
2024-02-17 11:46:07 +01:00
Mark
2a218ddbe2
delete test.mers file
2024-02-15 11:37:37 +01:00
Mark
9de61da1ef
fix Cargo.toml for mers cli
2024-02-15 10:57:06 +01:00
Mark
5d3efe4788
version bump to 0.4.0
2024-02-15 10:56:34 +01:00
Mark
44da27b414
Add chain
function and chained
iterator, which behaves like Rust's flatten
2024-02-14 17:13:05 +01:00
Mark
6ed16b90ec
bump cli version
2024-01-31 19:29:44 +01:00
Mark
392fdb2a36
pump version in dependencies of cli
2024-01-31 19:28:17 +01:00
Mark
0226dbd02b
add missing file, bump version
2024-01-31 19:23:01 +01:00
Mark
58706c4539
update cli
2024-01-16 12:08:47 +01:00
Mark
16cdcddc72
.
2024-01-16 12:06:55 +01:00
Mark
9fe981fc6c
fix bug where subtypes of list didn't include type of empty list
2024-01-16 12:00:16 +01:00
Mark
2d373d1ba7
make some types/fields public
2024-01-16 10:38:45 +01:00
Mark
8c235a98aa
update readme
2024-01-11 13:18:54 +01:00
Mark
5be264e63c
prepare to publish to crates.io
2024-01-11 13:05:52 +01:00
Mark
4cf349a680
add mers.wasm file which can be executed with wasmtime
...
so you can do:
wasmtime mers.wasm exec '"Hello, World!".println'
2023-12-12 22:32:06 +01:00
Mark
0a9eea2045
fix bug where error would reference wrong file
2023-11-24 13:19:38 +01:00
Mark
b6d708db3d
improve/fix errors in #include
2023-11-17 10:09:44 +01:00
Mark
12925fed67
improved error messages
...
- some small bugs are now fixed
- include comments in error messages (if this causes issues, use --hide-comments)
- colors should make more sense now
- error-related things moved to mers_lib/src/errors/
2023-11-16 14:50:09 +01:00
Mark
39951a59e9
add #include
2023-11-15 17:55:07 +01:00
Mark
8bdd6e00e8
Add lock_update function for safer multithreading
...
&v = (v, 1).sum might fail if two threads do it at the same time or something, so you can now lock the reference to ensure no other thread messes with your data while you update its value
2023-11-10 13:18:34 +01:00
Mark
ea95a16c30
added better error messages inspired by rustc/cargo
...
but not as good
2023-10-23 21:48:15 +02:00
Mark
b39a768099
.
2023-10-19 18:46:15 +02:00
Mark
2a7cb08596
mers rewrite is starting to be usable
2023-08-14 17:17:08 +02:00
Mark
07745488b3
sorted mers_lib/src/program/configs/ and added cargo features
2023-07-28 15:20:02 +02:00
Mark
b81dac682e
full rewrite, kinda works
2023-07-28 00:33:15 +02:00
Mark
16258c7a0a
updated readme. again.
2023-07-18 18:45:42 +02:00
Mark
b6d01c7c25
changed regex builtin and added binaries to git repo
2023-06-29 15:16:31 -04:00
Mark
f0314817a2
.
2023-06-26 17:53:27 -04:00
mark
701ead37c1
remove error on "wrong" main function args (which are no longer "wrong" since the last commit)
2023-06-17 15:35:42 +02:00
mark
47dc763b23
.
2023-06-16 18:49:12 +02:00
mark
77178addac
default fn args are now empty instead of args [string ...]
2023-06-16 18:44:48 +02:00
mark
3032d3c115
fixed examples, fixed bug due to VType changes
2023-06-12 19:06:20 +02:00
mark
d94f727eaa
references can now be of type &(int/float): two types, one reference.
2023-06-12 18:18:45 +02:00
mark
46dbb13e0f
fixed warnings, cargo clippy, and mers-nu
2023-06-06 15:22:45 +02:00
mark
f91d452bd1
removed allow(dead) and allow(unused)
2023-06-06 13:52:16 +02:00
mark
1c749da401
changed VType internals
2023-06-06 13:51:33 +02:00
mark
f7feb688e8
order of operations, tests, VSingleType::Function
...
- moved && and || in order of operations to make a == b && c == d work as expected
- added some .mers files to mers/tests
- changed VSingleType::Function (setup for future type system changes)
2023-06-06 03:09:39 +02:00
mark
8c6f8c17f1
update readme, docs, site, and version to 0.2.0.
2023-06-04 21:59:38 +02:00
mark
db0be51fa4
added arrow syntax for forcing output types and added the "any" type (which is basically useless and will likely change in the future)
2023-06-04 21:33:35 +02:00
mark
efe8a177dc
changed the error
2023-06-04 20:17:36 +02:00
mark
c7642ef911
there can now be multiple functions with the same name. The most recently declared one will be preferred if multiple would be valid.
2023-06-04 20:07:50 +02:00
mark
c2594ab6dc
.
2023-05-27 19:37:01 +02:00
mark
d62a3f5aa8
added dereference syntax to go from &t to t by prefixing any statement with a *. for *x.f(), the * is applied to x, not the whole chain (like & would)
2023-05-27 19:20:28 +02:00