Commit graph

2338 commits

Author SHA1 Message Date
Jordan Eldredge
28f5d0929b Add missing opcodes
the basicTest.m file, compiled by the Winamp3 compiler (and perhaps others) output these opcodes which are unknown to the decompiler. I _think_ this is what they are supposed to be.
2019-07-11 20:57:18 -07:00
Jordan Eldredge
e4ae01291c Consolidate line 2019-07-11 20:57:18 -07:00
jberg
10fa928c1e add basic maki operator tests (#802) 2019-07-09 20:36:45 -07:00
Jordan Eldredge
eae24a1263 Extract version info 2019-07-09 08:16:16 -07:00
Jordan Eldredge
2f6f1937a9 Inline calculating position 2019-07-09 08:16:16 -07:00
Jordan Eldredge
974c903715 Pull local functions into their own thing 2019-07-09 08:16:16 -07:00
Jordan Eldredge
88b67e376a Move binding logic into Variable 2019-07-08 08:24:13 -07:00
Jordan Eldredge
de1b5350b0 Improve error message for missing classes 2019-07-05 17:20:24 -07:00
Jordan Eldredge
8621ca0f41 Add commented version of interpreting maki 2019-07-05 17:20:24 -07:00
Jordan Eldredge
f49074cb3d Handle unknown objects better 2019-07-05 17:20:24 -07:00
Jordan Eldredge
5e5703b500 Split out function for formatting ids 2019-07-05 17:20:24 -07:00
Jordan Eldredge
6528d4dcb3 Use the name "data" 2019-07-05 17:20:24 -07:00
Jordan Eldredge
0d906a02d1 Don't use buffer when parsing maki 2019-07-05 17:20:24 -07:00
Jordan Eldredge
e0da85cada Move the maki-interpreter experiment into the modern experiment
We're getting to a place where it's going to be feasible to test the
Maki interpreter in the browser, so it makes sense to merge the two
experiments.
2019-07-05 17:20:24 -07:00
jberg
d89e9a0fde add simple skin (#801) 2019-07-05 17:12:33 -07:00
Jordan Eldredge
02e4db6752 Homonyms, how do they work? 2019-07-05 07:47:10 -07:00
Jordan Eldredge
8216ed3939 Get rid of props 2019-07-05 07:47:10 -07:00
Jordan Eldredge
da4f14c50f Start writing MakiFile to use a Uint8Array under the hood
For now we do both and assert that they behave the same
2019-07-05 07:47:10 -07:00
Jordan Eldredge
1a1ffc8b5f Error on invalid arg type 2019-07-05 07:47:10 -07:00
Jordan Eldredge
fecc92e989 Don't use Buffer outside of MakiFile 2019-07-05 07:40:14 -07:00
Jordan Eldredge
b87baccafe Setup multi version test 2019-07-02 22:18:57 -07:00
Jordan Eldredge
fe76ebfab0 Don't share subscriptions between instances 2019-07-02 22:10:04 -07:00
Jordan Eldredge
a83167bfe8 Add first integration test 2019-07-02 22:05:05 -07:00
Jordan Eldredge
e0210fb5c1 Pass values to functions, not variables. 2019-07-02 21:40:04 -07:00
Jordan Eldredge
a8d83b4fa4 Fix typo 2019-07-02 21:39:05 -07:00
Jordan Eldredge
6ebcbec9d8 Allow cli to be executed directly 2019-07-02 20:47:31 -07:00
jberg
564bef9cbb multiple versions of maki compiler (#800)
* multiple versions of maki compiler

* move compilers to reference dir
2019-07-02 20:19:55 -07:00
Jordan Eldredge
dc8bf15a86 Get rid of advanceDEPRECATED 2019-07-02 20:18:36 -07:00
Jordan Eldredge
6998e12f7a Convert Parser into a function 2019-07-02 20:18:36 -07:00
Jordan Eldredge
ae18d2c836 Start splitting out the stateful part of Parser
This should set us up for two things:

1. Using a typed array instead of a buffer, since the reading logic is now encapsulated
2. Making parse a function instead of a class
2019-07-02 20:18:36 -07:00
Jordan Eldredge
8cf0efa6ae Improve comments 2019-07-02 20:18:36 -07:00
Jordan Eldredge
4a9c2600bc Clean up comments 2019-07-02 20:18:36 -07:00
Jordan Eldredge
d29d32e224 Improve code organization and document it 2019-07-02 08:22:38 -07:00
Jordan Eldredge
a09dbcc604 Split out runtime 2019-07-02 06:33:07 -07:00
Jordan Eldredge
092f405517 Move parser into its own file 2019-07-02 06:23:48 -07:00
Jordan Eldredge
d7f8c3701f Split out interpreter 2019-06-30 20:43:31 -07:00
Jordan Eldredge
625c541d97 Separate runtime 2019-06-30 20:01:24 -07:00
Jordan Eldredge
f4a087a9ed Throw for invalid primitive types 2019-06-26 18:58:23 -07:00
Jordan Eldredge
b3f9a68e8e Remove bundlesize 2019-06-26 18:56:17 -07:00
Jordan Eldredge
c76a20234c Fix incorrect case of file 2019-06-26 18:47:39 -07:00
Jordan Eldredge
bdd9461648 Ignore experiment tests
These get tested locally.
2019-06-26 18:01:48 -07:00
Jordan Eldredge
3aa7c849b5 Delete unused test 2019-06-26 17:58:15 -07:00
Jordan Eldredge
9d874a69db Fix command to debug 2019-06-26 17:56:25 -07:00
jberg
43fd626dbc don't cycle presets when media is not playing (#799) 2019-06-26 14:55:52 -07:00
Jordan Eldredge
2b3ff9685a Check in skin tutorial 2019-06-25 23:18:37 -07:00
Jordan Eldredge
d013d953c4 Add alias to debug the parser 2019-06-25 23:18:27 -07:00
Jordan Eldredge
0268243da3 Add comments 2019-06-25 23:17:56 -07:00
Jordan Eldredge
a4c8705bf9 Improve variable parsing 2019-06-23 22:15:21 -07:00
Jordan Eldredge
5eacdc53b8 Start a variable class 2019-06-23 18:34:55 -07:00
Jordan Eldredge
cb8163895f Add interpret command 2019-06-23 16:59:35 -07:00