Commit Graph

252 Commits

Author SHA1 Message Date
Robert Bendun
bc5736bf35 Started builtins refactoring and testing 2022-09-25 10:40:36 +02:00
Robert Bendun
548b29d897 New edition of testing script 2022-09-25 03:19:00 +02:00
Robert Bendun
5a7c204ceb Moved from Value::from constructor to Value constructor 2022-09-25 00:40:49 +02:00
Robert Bendun
6a98178690 Moved Value from beeing bodged sum type to proper one
This allowed for simpler type checking approach, disallowed using
non-initialized members and hopefully will allow further code
simplification and reliability
2022-09-25 00:10:42 +02:00
Robert Bendun
ceeb25ea82 Created better hierarchy of source files 2022-09-23 18:55:25 +02:00
Robert Bendun
6a71614cab Project restructuring
include/musique.hh was getting large and musique_internal.hh emerged to
help with that. Header file separation become a huge mess.

The chosen approach is one hierarchy containing both header and
implementation files
2022-09-23 16:42:33 +02:00
Robert Bendun
038de0fc27 Moved from Result<void> to std::optional<Error> 2022-09-23 13:59:35 +02:00
Robert Bendun
d9c0468729 Value printing improved 2022-09-23 13:59:07 +02:00
Robert Bendun
857f8f3b52 [cheatsheet] Started working on Music section 2022-09-23 11:54:59 +02:00
Robert Bendun
973fbd62f7 Vectorized note creation 2022-09-22 18:12:17 +02:00
Robert Bendun
9fb1815e01 [cheatsheet] Argumentless function calls 2022-09-21 19:52:26 +02:00
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