Commit Graph

296 Commits

Author SHA1 Message Date
Mark
3b179ba2d4 adjust &list.pop return type to match actual return type 2023-10-27 14:45:37 +02:00
Mark
6618a4c00d remove eprintln 2023-10-27 14:36:21 +02:00
Mark
6f36ded38c fix bug when redeclaring a variable 3 times in the same scope 2023-10-27 14:35:10 +02:00
Mark
1384222b59 len function now works on lists because it works on all iterators 2023-10-27 14:22:14 +02:00
Mark
e60714e020 add support for a.f(b, c, d) syntax 2023-10-27 14:21:56 +02:00
Mark
09fbf2ab0a add GCD example 2023-10-27 13:50:26 +02:00
Mark
fd2a3382fc fixed tuple reversing type order when initializing
and try's error message now starts counting at Function #1 instead of #0.
2023-10-24 20:04:14 +02:00
Mark
5e20f92849 Added the concept of subtypes ...
... which `try` now uses to avoid some problems with inner types
2023-10-24 09:31:49 +02:00
Mark
ea95a16c30 added better error messages inspired by rustc/cargo
but not as good
2023-10-23 21:48:15 +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
1cb84fea43 change readme 2023-10-19 18:48:27 +02:00
Mark
6669c8343b fix readme 2023-10-19 18:47:39 +02:00
Mark
b39a768099 . 2023-10-19 18:46:15 +02:00
Mark
2d79e75ba2 added len function 2023-08-19 23:35:29 +02:00
Mark
ae0e163595 assigning to tuples should work properly now 2023-08-15 19:18:52 +02:00
Mark
0119211d92 updated readme 2023-08-14 17:22:55 +02:00
Mark
2a7cb08596 mers rewrite is starting to be usable 2023-08-14 17:17:08 +02:00
Mark
e549b1a5be move old mers to old/ and update gitignore 2023-07-28 15:24:38 +02:00
Mark
07745488b3 sorted mers_lib/src/program/configs/ and added cargo features 2023-07-28 15:20:02 +02:00
Mark
b81dac682e full rewrite, kinda works 2023-07-28 00:33:15 +02:00
Mark
16258c7a0a updated readme. again. 2023-07-18 18:45:42 +02:00
Mark
29bc366439 added a reference to the prebuilt binaries in README 2023-07-12 16:14:59 -04:00
Mark
c831512661 remove github.io site due to overlap with readme 2023-07-12 16:11:04 -04: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
d8b2033867
Update intro.md typo 2023-06-19 20:26:02 +02:00
mark
701ead37c1 remove error on "wrong" main function args (which are no longer "wrong" since the last commit) 2023-06-17 15:35:42 +02:00
mark
47dc763b23 . 2023-06-16 18:49:12 +02:00
mark
77178addac default fn args are now empty instead of args [string ...] 2023-06-16 18:44:48 +02:00
mark
7f3eccded8 put docs/intro before docs/syntax_cheat_sheet in README and add new reference type syntax to docs/syntax_cheat_sheet 2023-06-12 22:02:13 +02:00
mark
3032d3c115 fixed examples, fixed bug due to VType changes 2023-06-12 19:06:20 +02:00
mark
d94f727eaa references can now be of type &(int/float): two types, one reference. 2023-06-12 18:18:45 +02:00
mark
217a527c01 solved some AoC 2023-06-07 21:14:22 +02:00
mark
46dbb13e0f fixed warnings, cargo clippy, and mers-nu 2023-06-06 15:22:45 +02:00
mark
50e11dc967 removed script.mers from gitignore 2023-06-06 13:53:13 +02:00
mark
f91d452bd1 removed allow(dead) and allow(unused) 2023-06-06 13:52:16 +02:00
mark
1c749da401 changed VType internals 2023-06-06 13:51:33 +02:00
mark
f7feb688e8 order of operations, tests, VSingleType::Function
- moved && and || in order of operations to make a == b && c == d work as expected
- added some .mers files to mers/tests
- changed VSingleType::Function (setup for future type system changes)
2023-06-06 03:09:39 +02:00
mark
e3ca8d011d . 2023-06-04 22:23:10 +02:00
mark
9137392326 . 2023-06-04 22:22:46 +02:00
mark
5ce10144e7 fix typo 2023-06-04 22:15:09 +02:00
mark
c9e790dae8 update colors 2023-06-04 22:06:21 +02:00
mark
8c6f8c17f1 update readme, docs, site, and version to 0.2.0. 2023-06-04 21:59:38 +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
efe8a177dc changed the error 2023-06-04 20:17:36 +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
c2594ab6dc . 2023-05-27 19:37:01 +02:00
mark
d62a3f5aa8 added dereference syntax to go from &t to t by prefixing any statement with a *. for *x.f(), the * is applied to x, not the whole chain (like & would) 2023-05-27 19:20:28 +02:00
mark
f43ab49408 removed some annoying debug prints 2023-05-27 18:38:33 +02:00