Mark
424bc82d68
fix examples
2024-03-22 16:50:01 +01:00
Mark
f3dc26a5a7
fix tuple type parsing and fix examples
2024-02-22 20:21:11 +01:00
Mark
3d1ce384d0
add objects and object types
2023-11-30 15:44:51 +01:00
Mark
479b619388
change isn't to is in an example (whoops)
2023-11-25 17:51:37 +01:00
Mark
4144d6cf71
Type Annotations
...
- Add type annotations: [type] statement
- Add type definitions: [[name] type], [[name] := statement]
- Add type annotations example (08)
- add Quickstart.md, reference it from README
2023-11-21 22:10:58 +01:00
Mark
e851559016
add thread example
2023-11-13 14:15:00 +01:00
Mark
68d5b55c6f
make TicTacToe example slightly more elegant
2023-11-09 15:22:00 +01:00
Mark
eb07754e86
Add TicTacToe example
2023-11-09 15:18:29 +01:00
Mark
d2fc8c1ebe
Add division to examples/03 and add any
and all
functions for Iter<Bool>
2023-11-08 15:54:46 +01:00
Mark
39fca08541
change loop function so you can write ().loop(() -> do_smth)
2023-11-08 15:11:28 +01:00
Mark
cab81059f3
update examples
2023-11-07 20:24:20 +01:00
Mark
db59a1e92e
remove diff, add subtract to replace it and work with iters, add lt, gt, ltoe, gtoe for < > <= >=
2023-11-07 18:37:37 +01:00
Mark
d72de43aad
fix spelling mistake
2023-10-28 12:53:12 +02:00
Mark
078b83dfa5
add/change examples
2023-10-27 19:19:42 +02:00
Mark
09fbf2ab0a
add GCD example
2023-10-27 13:50:26 +02:00
Mark
62ed8fc2bd
remove unnecessary as_list from example iter.mers
2023-10-19 19:45:54 +02:00
Mark
42288494f0
fix product function and add examples
2023-10-19 19:38:13 +02:00
Mark
b39a768099
.
2023-10-19 18:46:15 +02:00
Mark
e549b1a5be
move old mers to old/ and update gitignore
2023-07-28 15:24:38 +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
3032d3c115
fixed examples, fixed bug due to VType changes
2023-06-12 19:06:20 +02:00
mark
217a527c01
solved some AoC
2023-06-07 21:14:22 +02:00
mark
e3ca8d011d
.
2023-06-04 22:23:10 +02:00
mark
9137392326
.
2023-06-04 22:22:46 +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
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
8848552302
changed true to [true] in match statement to remove [] from return types (although it's still there since println() returns [] - this litterally changes nothing, but it's good style)
2023-05-26 21:29:28 +02:00
mark
45f6f30de3
revamped switch and match syntax
2023-05-26 20:02:46 +02:00
mark
be9403d63d
added destructuring assignments for tuples (and lists on the left)
2023-05-26 18:46:47 +02:00
mark
b4b33b1c82
added := for initialization/declaration
2023-05-24 22:32:54 +02:00
mark
c32419508e
fixed examples
2023-05-23 23:56:45 +02:00
mark
b652cb57cc
chmod -x'd examples and added modify_variable.mers example (parser changed). note: some examples might be broken because of this
2023-05-23 23:37:58 +02:00
mark
220d992eb9
moved examples to own directory
2023-05-23 20:26:08 +02:00