Commit Graph

146 Commits

Author SHA1 Message Date
minjaesong
b70e1db5bb basic:generator model for 'FOR' 2020-12-03 12:43:27 +09:00
minjaesong
41bdd30f80 basic: test prg sqrt.bas 2020-12-02 22:19:25 +09:00
minjaesong
1ef1f5eab8 fixing + operator 2020-12-02 21:31:59 +09:00
minjaesong
856764c936 basic:killed sigils; IF statement is broken? (see ltkaput.bas) 2020-12-02 17:49:13 +09:00
minjaesong
5b15a49f88 basic:optional index at 1, LEFT, MID, RIGHT funs 2020-12-02 16:01:16 +09:00
minjaesong
d43d747e6a basic:multidimensional array 2020-12-02 14:59:16 +09:00
minjaesong
33c2871fca basic:allowing 'print' to accept zero args, of which it will print a newline 2020-12-02 11:00:01 +09:00
minjaesong
ceda5a4479 less:u d commands, new app 'hexdump' 2020-12-02 10:27:58 +09:00
minjaesong
7786044d98 String.prototype.replaceAll polyfilling 2020-12-01 23:27:15 +09:00
minjaesong
9b870c2a47 even more graal 2020-12-01 15:42:02 +09:00
minjaesong
8cb9ae9c5c more graal stuffs 2020-12-01 14:38:36 +09:00
minjaesong
6403a84af3 migration to graal 2020-12-01 14:16:48 +09:00
minjaesong
f4c67fee30 bf interpreter because lulz 2020-11-30 22:31:07 +09:00
minjaesong
0b646c4d51 basic:fixing undefined tree node (e.g. '10 PRINT SPC(19);') would cause error 2020-11-30 11:47:30 +09:00
minjaesong
65dca0533a basic:abandoning the idea of (:) -- executor cannot index things statement-wise, only line-wise; major re-write should be possible but NOT TODAY 2020-11-29 12:12:52 +09:00
minjaesong
d9d256fcca scrapping earlier impl of func SEQ 2020-11-28 23:05:05 +09:00
minjaesong
ba9925c489 basic: cons is now (!); fixed issue where paren-enclosed statement would spit error on run 2020-11-28 18:30:32 +09:00
minjaesong
bdcef683ae basic:spc stmt and more sample codes 2020-11-27 16:55:36 +09:00
minjaesong
83e573dab3 basic:making gosub to work again, new END stmt 2020-11-27 16:11:08 +09:00
minjaesong
2d5db66c17 command.js: exit should work now 2020-11-27 14:10:26 +09:00
minjaesong
c367b98537 basic:dim command but syntax is unlike gw-basic 2020-11-27 13:41:16 +09:00
minjaesong
81705dbe0f basic:slightly more helpful errmsgs 2020-11-25 11:12:30 +09:00
minjaesong
4dca73c798 basic: code minify 2020-11-24 22:00:44 +09:00
minjaesong
cd518fb065 command.js: hitting return key with empty string wont error out anymore 2020-11-24 21:29:56 +09:00
minjaesong
7b6f3cbc43 basic:array indexing and assigning at the index 2020-11-24 17:01:49 +09:00
minjaesong
c98016875a basic:array concat operator 2020-11-24 14:25:51 +09:00
minjaesong
003c8b9279 basic:fixing two new operators are not getting parsed well 2020-11-24 11:54:48 +09:00
minjaesong
87b08cd9ee basic:leftmost derivatives are now actually leftmost 2020-11-24 11:18:17 +09:00
minjaesong
471575087a basic:trying to add array pre/append operators 2020-11-24 10:56:35 +09:00
minjaesong
7a6a660da1 random stuffs 2020-11-19 20:38:55 +09:00
minjaesong
5944db6096 basic: most basic and working INPUT 2020-11-19 11:04:03 +09:00
minjaesong
0d94951fc6 basic: INPUT wip 2020-11-18 17:15:33 +09:00
minjaesong
f74a1ee342 basic: NEXT with arguments will be left for future version :p 2020-11-18 15:54:12 +09:00
minjaesong
4288f8c41b basic: fix bug where you couldnt print number 0 2020-11-18 15:24:09 +09:00
minjaesong
8568a721ff basic:FOR works with limited function of NEXT 2020-11-18 11:46:24 +09:00
minjaesong
89c4f9ac6f basic:fix a bug where you couldnt call no-arg function without parens 2020-11-17 11:51:08 +09:00
minjaesong
3aca6c84be antialiased font 2020-11-16 13:30:20 +09:00
minjaesong
88ad549553 basic: for loop init 2020-11-15 22:52:29 +09:00
minjaesong
a077247825 basic: = to return its RH 2020-11-15 21:43:50 +09:00
minjaesong
c6eecdcac8 basic: indexing an array 2020-11-15 17:56:44 +09:00
minjaesong
552cd6da0e basic:fixed broken PRINT and some others 2020-11-15 17:40:58 +09:00
minjaesong
7db476d095 basic: more debuggable property names and broke PRINT statement 2020-11-15 16:31:01 +09:00
minjaesong
f1f679eb4b basic: updating comments for array 2020-11-15 11:43:33 +09:00
minjaesong
7774433e18 basic: array building using TO and STEP 2020-11-15 11:35:47 +09:00
minjaesong
b2da296602 basic: parsing for's TO and STEP as operators 2020-11-15 01:30:00 +09:00
minjaesong
723c31b93e basic:fixing some bugs on the parser 2020-11-15 00:39:29 +09:00
minjaesong
4ba004b9b7 Merge branch 'master' of https://github.com/curioustorvald/tsvm 2020-11-14 20:10:43 +09:00
minjaesong
da595f548d basic:for-next wip todo 2020-11-14 16:54:54 +09:00
minjaesong
4977829c38 basic:catalog function (same as ls/dir) 2020-11-14 14:13:46 +09:00
minjaesong
34cfec60c7 basic:load function 2020-11-14 13:58:11 +09:00