Commit Graph

335 Commits

Author SHA1 Message Date
Robert Bendun
5f0f511066 new builtins: while, map, duration, set_len 2022-10-27 00:27:41 +02:00
Robert Bendun
b612209914 Added macros; if is now macro and not a function 2022-10-26 16:50:40 +02:00
Robert Bendun
0529a84fb7 Test suite works with new syntax 2022-10-25 16:20:24 +02:00
Robert Bendun
8cda4f4d8e Removed [] block notation in favour of unification with () 2022-10-25 16:10:34 +02:00
Robert Bendun
fe6c1e3bd0 Blocks can accept now more parameters then they capture 2022-10-23 12:24:32 +02:00
Robert Bendun
b924f7dff2 fixed index operation; unified builtin operators naming convention 2022-10-23 00:08:06 +02:00
Robert Bendun
f10eb5c2ad instruments.mq using new definition syntax; fixed windows builds 2022-10-21 17:50:25 +02:00
Robert Bendun
7621e6e3ff VSCode extension 2022-10-21 13:14:12 +02:00
Robert Bendun
2a3bfa14ae If all sources are considered deffered enter interactive mode 2022-10-20 16:46:52 +02:00
Robert Bendun
6c631dc075 Added file as function commandline switch 2022-10-20 16:42:05 +02:00
Robert Bendun
346c66a8f4 First iteration of build instructions 2022-10-20 14:37:50 +02:00
Robert Bendun
2ac95e3b14 Remove previous VSCode extension 2022-10-18 14:29:36 +02:00
480de4182c Merge pull request 'Adding support for MacOS' (#36) from macos into main 2022-10-14 16:55:45 +02:00
Robert Bendun
8348a857f3 Finalizing build scripts 2022-10-14 16:45:47 +02:00
Robert Bendun
e9d67178da Added virtual port creation as default action. Restored port connection
Removed input ports support
2022-10-14 16:26:08 +02:00
Robert Bendun
0d7f4b1eb5 Build system supports both MacOS and Linux now 2022-10-14 15:56:36 +02:00
Robert Bendun
b93a236e37 Conforming to clang's standard library on MacOS 2022-10-14 14:42:37 +02:00
Robert Bendun
78b1e7d703 new REPL command parsing & handling system 2022-10-11 11:01:01 +02:00
Robert Bendun
cfa0513226 :load command inside interactive mode 2022-10-11 10:06:42 +02:00
Robert Bendun
d784da1e8d Mention windows binary in realase package 2022-10-08 20:41:04 +02:00
Robert Bendun
145441cead Merge branch 'windows-support' 2022-10-08 20:35:03 +02:00
Robert Bendun
5866278340 Bringed back old build system 2022-10-08 20:34:29 +02:00
Robert Bendun
e8ef207ec9 Windows support 2022-10-08 20:32:41 +02:00
Robert Bendun
ecabf885f3 Compiling with mingw 2022-10-08 17:18:55 +02:00
Robert Bendun
0ee52951c1 Moved from written by hand Makefiles to Premake 2022-10-08 15:05:05 +02:00
Robert Bendun
32f2183136 Recognizing rtmidi creators contributions 2022-10-08 13:09:11 +02:00
Robert Bendun
57ac46cf9b Moved from custom ALSA adapter to RtMidi
This should allow for easy support for other operating systems and other
Linux sound systems like Jack in the future
2022-10-08 12:48:42 +02:00
Robert Bendun
6389535443 integrated libmidi into Musique codebase 2022-10-07 18:17:25 +02:00
Robert Bendun
b6b1209014 scan builtin; Value and Array conviniance constructors made explicit 2022-10-07 17:33:38 +02:00
Robert Bendun
20bf379332 Added changelog 2022-09-25 23:09:48 +02:00
Mateusz Piątkowski
95c296a332 Add call func description 2022-09-25 20:21:08 +02:00
Robert Bendun
68f5298e39 testing builtins: uniq, unique, typeof 2022-09-25 12:01:19 +02:00
Robert Bendun
225befb22b Removed unused files 2022-09-25 11:59:50 +02:00
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