Commit graph

136 commits

Author SHA1 Message Date
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
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
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
Jordan Eldredge
f4524c339b Be more strict when parsing 2019-06-23 16:59:35 -07:00
Jordan Eldredge
4012b82a76 Allow Discord bot to query skins by item name 2019-06-23 19:19:26 -04:00
Jordan Eldredge
d820b8c830 Start playing with a Winston client that DMs me 2019-06-23 19:18:42 -04:00
Jordan Eldredge
427c7701be Ignore python env 2019-06-23 19:18:42 -04:00
Jordan Eldredge
fc3c641e52 Improve logging 2019-06-23 19:18:42 -04:00
Jordan Eldredge
6df9ac886e Stub out GroupDef 2019-06-20 12:24:28 -07:00
Jordan Eldredge
701d54ed93 Pass through nulls 2019-06-20 12:24:28 -07:00
Jordan Eldredge
fb4465ea80 Fix typo 2019-06-20 12:24:28 -07:00
Jordan Eldredge
661cf8bed6 Attach function objects to function names 2019-06-16 12:39:55 -07:00
Jordan Eldredge
b3db622cf7 Get actual classes instead of type ids 2019-06-16 11:48:08 -07:00
Jordan Eldredge
432936f8c5 Allow fetching by the ids we have 2019-06-15 21:19:51 -07:00
Jordan Eldredge
a982c80208 Avoid mutation 2019-06-15 21:19:30 -07:00
Jordan Eldredge
be18895ae5 Fix parsing of type hashes 2019-06-15 20:30:20 -07:00
Jordan Eldredge
2217269daa Start taking some notes on the maki format 2019-06-15 18:00:26 -07:00
Jordan Eldredge
d1601871e8 Improve name of commands property 2019-06-15 17:38:36 -07:00
Jordan Eldredge
843c31c947 Correct expectation for functions
These values were extracted from the perl script
2019-06-15 17:36:28 -07:00
Jordan Eldredge
07056e2213 Correctly parse command opcodes
This moves to using a node Buffer to hold the command bytecode which resolves a character encoding issue we were having
2019-06-15 17:24:33 -07:00
Jordan Eldredge
8cfa0f2fd6 Render the DOM from the single atomic XML object 2019-06-13 23:03:56 -07:00
Jordan Eldredge
4f291ada56 Get a single unified xml object and use that for deriving images 2019-06-13 22:49:37 -07:00
Jordan Eldredge
b88d11726e Derive JSX from the skin file 2019-06-13 22:27:20 -07:00
Jordan Eldredge
bd0158c332 Add debug info to the DOM 2019-06-13 22:27:20 -07:00
Jordan Eldredge
deb2916f7d Use Utils.readXml 2019-06-13 22:27:20 -07:00
Jordan Eldredge
0d61aa88c2 Add utility to inline includes in the XML data structure 2019-06-13 22:27:20 -07:00
Jordan Eldredge
77fbee8dc8 [WIP] resolve includes 2019-06-13 19:22:06 -07:00
Jordan Eldredge
aaa59d7f97 Use correct path for skin 2019-06-13 19:21:57 -07:00
Jordan Eldredge
3da45dafa5 Remove unused import 2019-06-13 19:21:51 -07:00
Jordan Eldredge
f3358475fb Start sketching out modern skins 2019-06-09 22:40:30 -07:00
Jordan Eldredge
b9726d5639 Fix lint errors 2019-06-09 13:36:44 -07:00
Jordan Eldredge
53bf5224ff Small improvements 2019-06-09 00:38:43 -04:00
Jordan Eldredge
aee0cf1f74 Unify discord-bot and skin-database 2019-06-09 00:13:04 -04:00
Jordan Eldredge
3226d7820e Fix path 2019-06-07 21:28:23 -07:00