high-level, safe, and simple programming language
Go to file
2024-04-15 14:07:05 +02:00
.github/workflows . 2023-06-26 17:53:27 -04:00
examples fix examples 2024-03-22 16:50:01 +01:00
mers add Byte to replace Int when appropriate 2024-04-15 14:07:05 +02:00
mers_language_server add example 02 to mers_lib 2024-02-17 14:57:40 +01:00
mers_lib add Byte to replace Int when appropriate 2024-04-15 14:07:05 +02: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
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

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]