Commit Graph

106 Commits

Author SHA1 Message Date
Mark
b6c0391833 version bump 2024-06-26 13:51:39 +02:00
Mark
08b4af3fa4 leave newlines, because we are in a <pre><code> 2024-06-26 13:51:21 +02:00
Mark
4c17fa1745 fix html output (newlines) 2024-06-26 13:50:02 +02:00
Mark
12d90a8022 fix pretty_print 2024-06-26 13:02:50 +02:00
Mark
7a945e80ba improve and move theming traits
move pretty_print.rs from mers to mers_lib
2024-06-26 12:54:04 +02:00
Mark
f08784af3b fix colors + fix dependency version mismatch 2024-06-26 01:22:13 +02:00
Mark
a78367f27c add support for custom theming in mers errors
this also includes support for the NoTheme,
a theme which doesn't add any color to mers'
output.
If you compile mers with --no-default-features,
the `colored` dependency will disappear and
mers_lib will fall back to NoTheme.
2024-06-26 01:02:19 +02:00
Mark
94111a5eaa add configs/bundle_pure 2024-06-23 22:14:29 +02:00
Mark
688e28c171 nicer errors 2024-06-21 15:50:41 +02:00
Mark
b11e4017ed add divbyzero error for integer division 2024-06-20 15:57:53 +02:00
Mark
f59c0941f5 add more graceful errors (w/ stacktrace) to stdlib 2024-06-20 15:52:57 +02:00
Mark
cd21c2171e improve panic function, add stacktrace 2024-06-19 12:35:23 +02:00
Mark
4770e3f939 fix readline 2024-06-17 18:47:49 +02:00
Mark
1c6cd90d59 fix read_line 2024-06-17 18:33:22 +02:00
Mark
206457489c read_line now returns (String)/()
so that closed stdin is handled by the programmer
instead of (probably) causing an infinite loop
2024-06-17 18:26:27 +02:00
Mark
3e33d963f5 remove RunCommandError custom type,
replace it with `{ run_command_error: String }`
instead, which is more standard mers style
2024-06-14 19:49:41 +02:00
Mark
1e2f0cb63c add _ wildcard for type definitions
and make line/file indicators in errors
gray instead of fully white
2024-06-12 20:11:22 +02:00
Mark
945e19e10a fix list cloning not cloning inner values
this would allow mutating values
through a list passed by value,
but now it doesn't, which is
how it always should have been.
2024-04-30 13:58:40 +02:00
Mark
a377c6e89a temporary bugfix/patch 2024-04-16 14:27:02 +02:00
Mark
2742112b09 Type no longer implements MersType 2024-04-16 13:38:50 +02:00
Mark
1f44b66f08 fix a deadlock when using recursive trys 2024-04-15 17:26:06 +02:00
Mark
a960dfde6c add Byte type 2024-04-15 16:43:45 +02:00
Mark
cd3495b364 version 0.8.0 2024-04-15 16:42:13 +02:00
Mark
45a46f32a5 add Byte to replace Int when appropriate 2024-04-15 14:07:05 +02:00
Mark
754a661f83 0.7.3 2024-03-22 16:27:14 +01:00
Mark
632c029ca2 update prelude 2024-03-22 16:26:20 +01:00
Mark
1e658805d1 add compile_mut and check_mut 2024-03-22 16:24:10 +01:00
Mark
f2aad4215c 0.7.1 2024-03-22 16:20:10 +01:00
Mark
45f0fe7c90 fix pub(crate) instead of pub on Info::Global 2024-03-22 16:19:36 +01:00
Mark
dab8fd9584 add missing files 2024-03-22 15:39:02 +01:00
Mark
8690263b1c V7: Make .try a language feature, this makes try_allow_unused unnecessary. remove try and try_... functions. 2024-03-22 15:38:09 +01:00
Mark
86b6a46d09 add Type::add_all() 2024-03-03 12:55:55 +01:00
Mark
f3dc26a5a7 fix tuple type parsing and fix examples 2024-02-22 20:21:11 +01:00
Mark
dc2db1d0e8 make list.get_mut return a 1-tuple on success, and fix reference type being incomplete 2024-02-22 19:41:03 +01:00
Mark
05c88b7826 fix variable shadowing not working (how was this not noticed until now??) 2024-02-22 19:13:50 +01:00
Mark
4fb84741ef . 2024-02-22 16:31:05 +01:00
Mark
f3f2c13702 add loop syntax, remove loop function, change CLI 2024-02-22 13:34:02 +01:00
Mark
931f70fe4c add example 02 to mers_lib 2024-02-17 14:57:40 +01:00
Mark
cc4a4366c9 mers_lib to 0.5.0, readme updated 2024-02-17 14:06:19 +01:00
Mark
0c87c69743 add examples, prepare for new readme 2024-02-17 13:23:50 +01:00
Mark
d124bff77f drop stdin on childproc_await to prevent deadlocks, add flush() call after childproc_write_* 2024-02-17 12:06:04 +01:00
Mark
6fdfba82a0 add childproc_write_* functions 2024-02-17 11:59:56 +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
5d3efe4788 version bump to 0.4.0 2024-02-15 10:56:34 +01:00
Mark
6d6853cc9f add function type annotation (Input1 -> Output1, Input2 -> Output2) 2024-02-15 10:55:13 +01:00
Mark
c130678caf Change reference type syntax from &{t/y/p/e} to &[t/y/p/e] to avoid ambiguity with &{my: Int, object: String} 2024-02-15 09:30:00 +01:00
Mark
b85183d081 remove COW::Get debug print from debug builds 2024-02-15 09:21:31 +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
0226dbd02b add missing file, bump version 2024-01-31 19:23:01 +01:00
Mark
42ca5ae3f0 refine string functions in stdlib 2024-01-31 19:20:22 +01:00