Mark
f979100bfb
fix "weird" behavior with globalinfo not updating
2024-10-14 01:52:19 +02:00
Mark
4e73ec0201
move exit: fn
from base
to stdio
2024-10-12 01:00:23 +02:00
Mark
d83f6f942f
bugfix for builtin functions using 3-tuples
2024-10-11 23:42:14 +02:00
Mark
786d72660f
update mers with newer mers_lib
2024-10-11 23:06:50 +02:00
Mark
08999e646a
add about and version to -h and --help
2024-10-11 22:54:56 +02:00
Mark
37f2e46d0c
version bump, no changes (only mers_lib changed)
2024-10-11 21:26:51 +02:00
Mark
6c43c604b8
improve ints in .try
2024-10-02 02:36:15 +02:00
Mark
754dd5df40
the math does math... at compile time, in types
2024-10-02 01:46:50 +02:00
Mark
c357e192a0
version bump
2024-09-28 01:53:27 +02:00
Mark
c17ea580b2
make objects work better, especially destructuring
2024-09-28 01:51:20 +02:00
Mark
062f100d40
show custom type names in error messages
2024-08-31 13:14:12 +02:00
Mark
817ed25f96
add warning to if-statement in check mode
...
warning is shown if the condition of an
if statement can never be true or false,
and the user used the check command.
warnings are not shown when you use `mers run`.
2024-08-29 15:48:01 +02:00
Mark
385019e43c
replace Bool type with Bool=True/False + bugfix
...
Bool is a type alias for True/False
Bugfix:
[[T] String]
{
[[T] Int]
// this would use the outer T (String),
// but now it correctly uses the inner T (Int).
[T] 1
}
2024-08-29 15:04:32 +02:00
Mark
0e42202f2c
version bump
2024-07-03 13:42:56 +02:00
Mark
a9e5f9209c
make cli args available when running
2024-07-03 13:32:43 +02:00
Mark
50928cca1d
[no version bump yet] better and safer stdlib impl
...
only transformed configs/with_string so far,
but other configs/* should follow soon.
also, this will help with implementing
new stdlib functions in the future.
2024-07-02 22:04:42 +02:00
Mark
18cd3ee0ae
functions no longer modify state, funcrefs exist
...
you can use &func as a function, too.
this allows the function to mutate its
inner state.
2024-07-01 20:51:09 +02:00
Mark
7acaafaa2f
fix some bugs
2024-06-27 18:11:37 +02:00
Mark
1b79cfc08f
fix some edge cases in parser
2024-06-26 20:27:29 +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
b3d6b227b5
fix dependencies
2024-06-26 01:22:49 +02:00
Mark
f08784af3b
fix colors + fix dependency version mismatch
2024-06-26 01:22:13 +02:00
Mark
1182ffa10e
add feature colored-output
...
which can be disabled with --no-default-features
2024-06-26 01:04:31 +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
f055d2089f
fix dependency
2024-06-23 22:15:23 +02:00
Mark
94111a5eaa
add configs/bundle_pure
2024-06-23 22:14:29 +02:00
Mark
4d570ec5a5
use crates.io mers_lib
2024-06-21 15:51:14 +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
eb2949334e
version bump (due to new library version)
2024-06-14 19:50:37 +02:00
Mark
ff374c4501
new library version
2024-06-12 20:12:29 +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
1554453eb9
.
2024-04-16 14:28:18 +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
4fc9441bd5
version bump
2024-04-15 17:27:00 +02:00
Mark
1f44b66f08
fix a deadlock when using recursive try
s
2024-04-15 17:26:06 +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
a1c585a30d
version bump
2024-03-22 16:50:37 +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
cb370f59c5
Merge branch 'main' of https://www.github.com/Dummi26/mers
2024-02-22 20:59:47 +01:00
Mark
5eaa531a3d
add missing file
2024-02-22 20:59:20 +01:00
Mark
77ee446fde
fix mers cli dependencies
2024-02-22 20:58:47 +01:00
Mark
020626fe32
redo readme with examples
2024-02-22 20:57:57 +01:00