0
0
Commit Graph

138 Commits

Author SHA1 Message Date
dd13d9e32c allow missing var name on following curly bracket 2022-09-07 17:03:19 +02:00
8981e225e4 🧑‍💻 don't modify this.start on negative numbers for clean lexeme 2022-09-07 16:58:30 +02:00
a14cdafcee
📝 use simpler command aliases for example code 2022-09-06 23:42:35 +02:00
02e63a18ce 🧑‍💻 strict mode 2022-09-06 23:39:28 +02:00
dfb7b3d09e 🧑‍💻 use let instead of var 2022-09-06 23:36:35 +02:00
3bd47fbe62 add support for negative numbers 2022-09-06 22:29:40 +02:00
b4774f2405 🧑‍💻 add trailing newlines 2022-09-06 22:10:18 +02:00
68fc67389c add lexer 2022-09-06 22:02:37 +02:00
949df05292 add more variations of numbers 2022-09-06 20:49:05 +02:00
c5cce8fa92 📝 remove fcn keyword 2022-09-06 20:21:04 +02:00
f9ad44e806 🚸 inform about missing source file in dev env 2022-09-06 19:38:52 +02:00
3a7ee65ede 🔥 remove test program file 2022-09-06 19:32:35 +02:00
a619dbdeff 🙈 ignore test program file in dev env 2022-09-06 19:30:42 +02:00
16d770e302 🧑‍💻 test program is empty by default 2022-09-06 19:28:49 +02:00
eaf529073a update test strings 2022-09-06 19:27:19 +02:00
458b27215c 🐛 make newlines in text visible 2022-09-06 19:08:20 +02:00
5d92207774 🎨 make name of stderr build method more understandable 2022-09-06 17:24:19 +02:00
8511b1420b 🎨 build stderr messages with additional data 2022-09-06 17:22:07 +02:00
994bc60923 🐛 find element by value in has() 2022-09-06 16:48:39 +02:00
3e89f10d72 add some helper methods to enum class 2022-09-06 16:46:41 +02:00
929d41e392 🎨 add prefix to enum helper class 2022-09-06 15:02:43 +02:00
e2fb88a840 ✏️ add 2 missing commas 2022-09-06 14:56:55 +02:00
84bc051b9e 🏷️ add types flag and end and brackets 2022-09-06 14:53:08 +02:00
988b45fdb4 add token type 'enum' 2022-09-06 14:43:48 +02:00
43d31b2880 add enum helper 2022-09-06 14:26:30 +02:00
de9337f90c 🎨 group storing arguments in constructor 2022-09-06 13:59:31 +02:00
8e28475dc1 create lexer class 2022-09-06 13:58:00 +02:00
83419929e4 🔨 Load source from /src 2022-09-06 13:40:30 +02:00
1fb40f6233 Merge branch 'main' of https://github.com/drmaxnix/juice-script into main 2022-09-06 13:37:24 +02:00
5092bfeea4 🎨 split source into one class per file 2022-09-06 13:37:12 +02:00
8dabd1ae87 🎨 split source into one class per file 2022-09-06 13:36:22 +02:00
2db86a2c4f 🎨 move io to own class 2022-09-06 13:34:32 +02:00
e9c448f56f 📝 parse on content loaded 2022-09-06 13:07:45 +02:00
9d2684934a 📝 clarify <cond> is a placeholder 2022-09-03 20:27:44 +02:00
c59597d97e 📝 clarify compare statements 2022-09-03 18:39:59 +02:00
2d3d5df8f5 📝 kick out redundant ifn command 2022-09-03 18:25:08 +02:00
fc4956ffbc 📝 remove negate expression cause you can use ifn for that 2022-09-03 18:20:16 +02:00
75b95e6739 🎉 start working on parser 2022-09-01 19:31:19 +02:00
12f7b7e869 🎨 fix spacing 2022-09-01 19:07:55 +02:00
3e7e14843f 🔖 mark as dev version 2022-09-01 19:05:37 +02:00
e3b3b1a2d2 add some more tests 2022-09-01 19:02:38 +02:00
95c8b92af2 📝 clarify quote escaping in strings 2022-09-01 18:53:14 +02:00
fd41b106b8 ⚰️ remove unused oldjuice screenshot 2022-09-01 18:36:27 +02:00
d13d86eed2 📝 idea file is final concept now 2022-09-01 18:34:17 +02:00
8b0b56765b 📝 use numbered args 2022-09-01 18:31:39 +02:00
39cb4ef93d 📝 allow casting number to string as-is 2022-09-01 18:26:15 +02:00
0a638f602e 📝 move command output to first arg 2022-09-01 18:20:45 +02:00
0ec1de0b87 📝 clarify difference between set null and pop 2022-09-01 18:18:04 +02:00
c33ad2aefc 📝 clarify value of undefined list elements 2022-09-01 18:16:10 +02:00
ffa2f6fdcc 📝 type to cast to can come from string 2022-09-01 18:13:36 +02:00