high-level, safe, and simple programming language
Go to file
2024-11-07 17:09:10 +01:00
.github/workflows . 2023-06-26 17:53:27 -04:00
examples fix example 6 2024-06-19 14:00:27 +02:00
learn_mers nicer errors 2024-06-21 15:50:41 +02:00
mers add iterable ranges (range_inc / range_exc) 2024-11-07 16:53:15 +01:00
mers_lib add iterable ranges (range_inc / range_exc) 2024-11-07 16:53:15 +01:00
merslsp version update 2024-11-07 17:09:10 +01:00
old move old mers to old/ and update gitignore 2023-07-28 15:24:38 +02:00
tree-sitter-mers add helix editor language config 2023-11-24 19:35:43 +01:00
.gitignore early prototype of a language server 2023-12-05 23:04:17 +01:00
main.mers nicer errors 2024-06-21 15:50:41 +02:00
Quickstart.md Type Annotations 2023-11-21 22:10:58 +01:00
README.md update link to mers/README.mdin README.md 2024-02-17 14:53:28 +01:00
TODO.md [no version bump yet] better and safer stdlib impl 2024-07-02 22:04:42 +02:00

mers

See the mers readme for more info.


"Hello, World!".println

Hello, World!


my_var := "Hello, Variable!"
my_var.println

Hello, Variable!


(1, 2, 3, 4).sum.println

10


(1, "2", 3, 4).sum.println

err1


(1, 2, 3, 4).as_list.debug

List<Int> :: [1, 2, 3, 4]


(1.0, 2.0).as_list.debug

List<Float> :: [1, 2]


(1, 2, 3.5).as_list.debug

List<Int/Float> :: [1, 2, 3.5]


int_list := (1, 2, 3).as_list
float_list := (4.5, 6.0).as_list
int_list.chain(float_list).as_list.debug

List<Int/Float> :: [1, 2, 3, 4.5, 6]