Commit Graph

341 Commits

Author SHA1 Message Date
Robert Bendun
9a978d8984 [cheatsheet] Splitted into sections, added navigation 2022-09-21 19:32:31 +02:00
Robert Bendun
e7ec8229e1 More array examples in doc/ 2022-09-21 16:54:17 +02:00
Robert Bendun
f42e700747 Musique vs other programming languages cheatsheet 2022-09-21 16:42:18 +02:00
Robert Bendun
34eb56ac50 Removed unused tests 2022-09-21 16:40:40 +02:00
Robert Bendun
1384e5f96e Eliminated unimplemented() that ware missing error reporting 2022-09-21 13:37:06 +02:00
Mateusz Piątkowski
3ed11fd33b operators.md fix3 2022-09-19 23:42:20 +02:00
Mateusz Piątkowski
8f46d49bac operators.md fix2 2022-09-19 23:41:21 +02:00
Mateusz Piątkowski
5ad87f4a91 operators.md fix 2022-09-19 23:39:23 +02:00
Mateusz Piątkowski
57e3ee06dd Include vector aspect of operators 2022-09-19 23:35:31 +02:00
Mateusz Piątkowski
f900647c76 Include vector aspect of operators 2022-09-19 23:34:25 +02:00
Robert Bendun
bd116d8810 Improved factorial example 2022-09-19 22:16:38 +02:00
Mateusz Piątkowski
691d4d84ac Add category for other operators 2022-09-19 21:16:11 +02:00
Mateusz Piątkowski
a8ee488010 Operators reference 2022-09-19 21:14:12 +02:00
Mateusz Piątkowski
ae5a9294eb Operators reference 2022-09-19 21:13:58 +02:00
Mateusz Piątkowski
5589094034 Fix install script 2022-09-18 21:40:44 +02:00
Mateusz Piątkowski
07317e19eb Merge remote-tracking branch 'refs/remotes/origin/main' 2022-09-18 21:26:48 +02:00
Mateusz Piątkowski
1b88afa283 Install within release 2022-09-18 21:25:42 +02:00
Robert Bendun
4c592091da Mention commandline parameters 2022-09-18 21:23:11 +02:00
Mateusz Piątkowski
5612b7256a Install instructions in README 2022-09-18 19:26:48 +02:00
Mateusz Piątkowski
c6061d07bc Install instructions in README 2022-09-18 19:20:45 +02:00
Mateusz Piątkowski
893d20cee1 Installation script 2022-09-18 19:15:38 +02:00
Robert Bendun
a217a09aec Recognize creators of used libraries 2022-09-18 16:52:44 +02:00
Robert Bendun
829243f059 statically linking libstdc++; recursive cloninng 2022-09-18 16:42:46 +02:00
Robert Bendun
2f101fdccf call builtin; release builder; documentation from docs repo 2022-09-18 16:34:43 +02:00
Robert Bendun
ddf9cc8f8c New declaration syntax x := foo instead of var x = foo
Additionaly moving into multiparameter binary operations
2022-09-18 14:50:20 +02:00
Robert Bendun
e57a60c36f Started working of For Elise example 2022-09-17 18:30:59 +02:00
Robert Bendun
7665ea0b53 sim builtin & proper chord notation behaviour 2022-09-17 17:47:14 +02:00
Robert Bendun
676f41909f Overhaul of chord call semantics to support easy sequencing 2022-09-17 13:10:24 +02:00
Robert Bendun
98a88c3acc ";" input does not raise an error anymore. Missing '=' precedanse 2022-09-17 11:49:09 +02:00
Robert Bendun
cb13dc9591 Refactored operators, loosing binary requirements due to them
Due to addition of turning binary operators into functions, they can now
be called with more or less then 2 arguments, which would trigger
assertions. Not all were converted to support new call syntax though
2022-09-17 00:34:41 +02:00
Mateusz Piątkowski
fefde2f12e Play ref change 2022-09-11 20:45:53 +02:00
Mateusz Piątkowski
eb4bf1c270 Fold ref + fixes 2022-09-11 20:41:42 +02:00
Robert Bendun
96c96ef2b0 fold buultin. Operators can be quoted
By prepending ' to operator you can use it as function
2022-09-11 20:10:44 +02:00
Mateusz Piątkowski
9b846d8115 Function reference 2022-09-11 20:05:29 +02:00
Mateusz Piątkowski
b4984d5c61 minor fixes 2022-09-11 18:02:27 +02:00
Mateusz Piątkowski
9956cf8993 more functions 2022-09-11 17:27:16 +02:00
Mateusz Piątkowski
b1bed2c7da instrument function description 2022-09-11 17:04:42 +02:00
Mateusz Piątkowski
4209a495ea Documentation on builtin functions 2022-09-11 16:59:51 +02:00
Robert Bendun
9213d5219a All stuff from this file is builtin 2022-09-11 16:30:27 +02:00
Robert Bendun
0743a9b7c4 Added pause
It's faking to be a note, but does not play anything when played
2022-09-11 16:19:10 +02:00
Robert Bendun
91f401a13a builtin mix; fixed vectorized equality 2022-09-05 23:52:26 +02:00
Robert Bendun
d77f844c81 Hashing functions; builtins hash, uniq and unique 2022-09-05 23:17:40 +02:00
Robert Bendun
ab0ba8d4c8 Algorithms like min don't flatten all the way
To restore previous behaviour one can use `min (flat x)`
2022-09-05 22:30:11 +02:00
Robert Bendun
eb822a4a6e '&' operator can merge arrays; 'down' builtin works 2022-09-05 20:47:15 +02:00
Robert Bendun
de92564cc1 Error reporting improvement for number operations; added power operator 2022-09-04 19:44:33 +02:00
Robert Bendun
497a4bcc6a Improvement of builtin functions; added try builtin
Including moving functions from lambdas into global scope, adding
documentation, improvement of error reporting
2022-09-04 17:46:04 +02:00
Robert Bendun
421f8111f0 builtin_for now reports nice error message when given wrong arguments 2022-09-04 14:11:06 +02:00
Robert Bendun
aabcc42625 Error reporting when too many closing parens at the end 2022-09-04 13:48:06 +02:00
Robert Bendun
f2a78cd331 Index operator now reports when given unindexable lhs 2022-09-04 13:25:55 +02:00
Robert Bendun
1597b678e1 Report error when index is too large 2022-09-04 13:16:40 +02:00