Commit Graph

351 Commits

Author SHA1 Message Date
741eb7f576 Result of evaluation is only printed when it's not nil 2022-05-25 04:36:16 +02:00
e2142d9dbd Added each to prelude 2022-05-25 04:34:37 +02:00
70e1431f05 Begining of support of array programming 2022-05-25 04:30:24 +02:00
5d410a1ffd Makefile produces less noise 2022-05-25 03:14:29 +02:00
4421acebd6 Halftones moving operator 2022-05-25 03:14:08 +02:00
611007a888 chord function 2022-05-25 02:13:35 +02:00
80bc4c039c Chords! 2022-05-25 00:08:48 +02:00
6611512b1f Working arrays, flat function 2022-05-24 19:09:37 +02:00
64417bf187 changed shape of Value constructors; added Array type 2022-05-24 17:39:07 +02:00
d549d23f0a Overloadable index operation 2022-05-24 16:38:18 +02:00
15f5e66e0b updated cheatsheet 2022-05-24 15:48:11 +02:00
fd6009bb02 Euterpea like octave and duration setting 2022-05-24 15:45:31 +02:00
fe2cd9f1ef Euterpea like duration notation. Cheatsheet 2022-05-24 15:34:38 +02:00
6652a08f42 VSCode syntax highlighting extension 2022-05-24 14:13:45 +02:00
d1366aee74 vim supports multiline comments 2022-05-24 14:13:45 +02:00
b422ca8677 License 2022-05-24 12:11:50 +00:00
1c6db5e7b7 Removed say from default builtins, moved to src/main.cc
The reason is that `say` requires text output to work, which is platform
specific. Interpreter should only register platform independent
functions like operations on arrays or math library
2022-05-24 03:48:10 +02:00
2c19db7354 Playing MIDI! 2022-05-24 03:35:15 +02:00
5560549c7c Separated building bin/unit-test into several objects 2022-05-24 03:00:51 +02:00
ba463139d6 Note duration calculation in current BPM context 2022-05-24 02:58:15 +02:00
2e2c34ce21 Note parsing & printing 2022-05-24 01:58:17 +02:00
142680ab77 Working note resolution 2022-05-24 01:40:16 +02:00
7d2ba379f7 Infrastructure for note parsing 2022-05-24 00:48:15 +02:00
3c476d4629 Disabled CI due to inablity to configure it correctly
Main reason is compiling with submodules; secondary is python test suite
2022-05-23 17:47:33 +02:00
0a024430e8 Enable recursive submodules loading in CI 2022-05-23 15:39:11 +00:00
61cf0559b1 lib/midi in CI 2022-05-23 15:30:36 +00:00
8853451cb5 Added Midi dependency 2022-05-23 17:27:06 +02:00
f28cb10669 Block indexing and len builtin 2022-05-22 16:43:36 +02:00
23b9d901ac Vim syntax highlighting 2022-05-22 15:53:39 +02:00
045150938c Removed python installing from CI 2022-05-22 15:03:32 +02:00
Mateusz Piątkowski
201f4c4cf8 Update .gitlab-ci.yml file 2022-05-22 09:53:07 +00:00
Mateusz Piątkowski
f39296ae22 Update .gitlab-ci.yml file 2022-05-22 09:52:05 +00:00
Mateusz Piątkowski
d249386030 trying python tests 2022-05-22 09:50:22 +00:00
Mateusz Piątkowski
da5964a778 updating repos befor attempt to install python3 2022-05-22 09:48:45 +00:00
Mateusz Piątkowski
873941110a Adding python3 to gitlab-ci image 2022-05-22 09:42:19 +00:00
0ce1b59757 make test subcommand 2022-05-22 06:33:33 +02:00
b193ca1213 Removed problematic examples testing from CI 2022-05-22 06:26:29 +02:00
9ed25cc32c Maybe this would work? 2022-05-22 06:25:17 +02:00
2c9792d6b8 Explicit python reference 2022-05-22 06:23:37 +02:00
601659399c Forgot to specify mode 2022-05-22 06:21:23 +02:00
794502188b Proper CI file 2022-05-22 06:18:08 +02:00
9e2784f609 Added examples testing to CI 2022-05-22 06:16:15 +02:00
10d1223f9f Examples testing 2022-05-22 06:10:44 +02:00
bde30f5d99 Separated Musique functions and C++ intrinsics; blocks as delayed computations 2022-05-22 05:29:46 +02:00
de1ed62f6b Overloaded operators 2022-05-22 04:58:45 +02:00
5b3cfca2a8 More testing & keywords 2022-05-22 04:31:31 +02:00
c1493a75c2 Rewritten previous enviroment tests to new implementation 2022-05-22 03:44:15 +02:00
6bc2a1cd38 Context aware clojures
Moved from dynamic scoping to static scoping.
2022-05-22 03:44:15 +02:00
8ac9fc5929 Explicit test for bug that caused all this trouble 2022-05-22 03:44:14 +02:00
b9d87e1456 New environment implementation
It's a failure of locating precise source of the bug that would cause `var x =
[i|i] 0` to segfault. New implementation DOES NOT have this bug.
2022-05-22 03:44:10 +02:00