Commit graph

201 commits

Author SHA1 Message Date
Koichi Nakamura
c60b5dec5c File I/O 2021-01-09 17:21:58 +09:00
Koichi Nakamura
7fa8883cf2 Add do-loop 2021-01-09 17:21:21 +09:00
Koichi Nakamura
44a011da18 Remove unnecessary name 2021-01-09 17:20:48 +09:00
Koichi Nakamura
0b7363016f Add max and min 2021-01-09 17:20:09 +09:00
Koichi Nakamura
5d43fa67ed replace swap drop by nip 2021-01-09 17:19:51 +09:00
Koichi Nakamura
f57aa2be25 rename str= to streq 2021-01-09 17:16:29 +09:00
Koichi Nakamura
998f87530a rename cmove to memcpy 2021-01-09 17:13:51 +09:00
Koichi Nakamura
6b6a2ed057 fixed a bug 2021-01-08 04:28:53 +09:00
Koichi Nakamura
9608f4f540 minor fix 2021-01-08 04:28:42 +09:00
Koichi Nakamura
f479467600 add succ-buffer 2021-01-08 04:28:25 +09:00
Koichi Nakamura
cdc67b2a5d Add 3dup and 3drop 2021-01-08 04:27:50 +09:00
Koichi Nakamura
93e668bad5 Add [unless] 2021-01-06 17:23:29 +09:00
Koichi Nakamura
fdefd16eda Fixed a bug of %allocate 2021-01-06 17:20:01 +09:00
Koichi Nakamura
7f06ce6600 Add defined? 2021-01-06 17:19:53 +09:00
Koichi Nakamura
ef3e15a3ca WIP Buffered File I/O 2021-01-06 06:07:08 +09:00
Koichi Nakamura
4d9365ad31 Add allocate 2021-01-06 05:28:30 +09:00
Koichi Nakamura
ac97d79c52 Add orelse 2021-01-06 03:33:48 +09:00
Koichi Nakamura
56eb6c7586 read-file and write-file worked 2021-01-06 03:22:01 +09:00
Koichi Nakamura
11f8e6fb9f fix notation 2021-01-06 03:21:31 +09:00
Koichi Nakamura
3b643237b6 WIP File I/O 2021-01-06 03:01:58 +09:00
Koichi Nakamura
68d9c70c7a refine error message 2021-01-06 03:01:24 +09:00
Koichi Nakamura
145faaf502 Add open-file and close-file 2021-01-06 02:12:47 +09:00
Koichi Nakamura
7aa4b2bd09 rename helper functions using (...) 2021-01-06 01:54:45 +09:00
Koichi Nakamura
878b43dd5c fixed a bug 2021-01-06 01:52:34 +09:00
Koichi Nakamura
218112f13c minor fix 2021-01-06 01:13:10 +09:00
Koichi Nakamura
514ba5d1d5 fixed a bug 2021-01-05 23:56:24 +09:00
Koichi Nakamura
989b5e1f61 minor fix 2021-01-05 23:56:14 +09:00
Koichi Nakamura
178c5df235 Wrote syscall0..3 2021-01-05 23:23:09 +09:00
Koichi Nakamura
16ffc302ec Move ready message 2021-01-05 23:22:50 +09:00
Koichi Nakamura
63ca8901e5 add >dfa 2021-01-05 23:22:25 +09:00
Koichi Nakamura
483b5ad607 Fixed a bug 2021-01-05 22:37:38 +09:00
Koichi Nakamura
fc3290c7a8 Treatment of "--gen" option 2021-01-05 21:53:40 +09:00
Koichi Nakamura
8c0cc0abf8 Add abort 2021-01-05 21:53:31 +09:00
Koichi Nakamura
f3acb2f93f minor fix 2021-01-05 21:47:18 +09:00
Koichi Nakamura
921a5f8a23 Redefine compilers using word which uses inputstream 2021-01-05 21:46:49 +09:00
Koichi Nakamura
dd1ad8d1f7 Wrote read-commandline-args 2021-01-05 21:34:29 +09:00
Koichi Nakamura
6e30c23cce Fixed a bug of shift-args 2021-01-05 21:34:16 +09:00
Koichi Nakamura
f71413d42b fixed a bug of do-loop 2021-01-05 21:34:06 +09:00
Koichi Nakamura
8356ff933a move error codes 2021-01-05 21:33:56 +09:00
Koichi Nakamura
4004fd7689 Command line arguments 2021-01-05 18:45:14 +09:00
Koichi Nakamura
c21c424d25 Fixed a bug 2021-01-05 18:19:36 +09:00
Koichi Nakamura
b1ed4e474a Add rpick 2021-01-05 18:19:26 +09:00
Koichi Nakamura
e000fb42ae minor fix 2021-01-05 18:19:21 +09:00
Koichi Nakamura
d55fb0064c fix typo 2021-01-05 11:38:21 +09:00
Koichi Nakamura
8c16f3072d Add newline after .s 2021-01-05 11:33:18 +09:00
Koichi Nakamura
d15eda8a11 Fixed a bug 2021-01-05 10:00:16 +09:00
Koichi Nakamura
051fd0eb2f fixed a bug 2021-01-05 09:56:59 +09:00
Koichi Nakamura
9af496fd66 Add [if]..[else]..[then] 2021-01-05 09:19:04 +09:00
Koichi Nakamura
f1b92c39d7 Fixed a bug 2021-01-05 09:18:53 +09:00
Koichi Nakamura
410a5c2ed0 minor fix 2021-01-05 08:17:54 +09:00
Koichi Nakamura
6ea40bd3dc Wrote 4th stage interpreter 2021-01-05 07:51:02 +09:00
Koichi Nakamura
de3584b1d5 Add comments 2021-01-05 07:25:08 +09:00
Koichi Nakamura
b2c60e43f2 rewrite existing parsers 2021-01-05 07:01:53 +09:00
Koichi Nakamura
ea1a3eeba2 rename input-streams to inputstreams 2021-01-05 07:01:40 +09:00
Koichi Nakamura
c0def0604b rename input% to inputstream% 2021-01-05 07:00:32 +09:00
Koichi Nakamura
de1c998355 fixed a bug of key-file 2021-01-05 07:00:13 +09:00
Koichi Nakamura
00d61b4ad4 minor fix 2021-01-05 06:59:58 +09:00
Koichi Nakamura
afa21387f1 fixed a bug 2021-01-04 23:00:16 +09:00
Koichi Nakamura
e46dd0994a Fixed a bug 2021-01-04 22:41:22 +09:00
Koichi Nakamura
bf1ee84b2e fix comment 2021-01-04 22:37:28 +09:00
Koichi Nakamura
acd30d307d Fix '\n' 2021-01-04 22:23:54 +09:00
Koichi Nakamura
f9acc5b061 Fix comment 2021-01-04 22:21:48 +09:00
Koichi Nakamura
1cd2f5c8ac BREAKING CHANGE: Changed Pascal string to C-string 2021-01-04 21:57:52 +09:00
Koichi Nakamura
f0e5b2ddb7 Remove unnecessary comments 2021-01-04 17:38:25 +09:00
Koichi Nakamura
e6474bd918 Add read-line and key-file 2021-01-04 17:05:48 +09:00
Koichi Nakamura
9be13d26ce Add input stream stack 2021-01-04 16:14:14 +09:00
Koichi Nakamura
81f07797dc Rename SUCCESS to success 2021-01-04 15:42:14 +09:00
Koichi Nakamura
e30be2e802 fix typo 2021-01-04 15:40:31 +09:00
Koichi Nakamura
9ecd13120e Remove fileop% 2021-01-04 15:35:55 +09:00
Koichi Nakamura
93b51d7cf8 fix indent 2021-01-04 11:11:56 +09:00
Koichi Nakamura
fa2ac12c55 Change name of constants uppercase 2021-01-04 11:10:46 +09:00
Koichi Nakamura
f20138a855 Add operations for defining struct 2021-01-04 10:20:51 +09:00
Koichi Nakamura
ca8f5a191f Add .s 2021-01-04 09:32:16 +09:00
Koichi Nakamura
0327f5e68b u.r and .r does not output following space 2021-01-04 09:31:40 +09:00
Koichi Nakamura
76c605af84 Add invert 2021-01-04 09:31:24 +09:00
Koichi Nakamura
c01cd8cc50 drop 2nd stage 2021-01-03 18:44:51 +09:00
Koichi Nakamura
eae23f223d Switched to 3rd stage interpreter 2021-01-03 18:40:30 +09:00
Koichi Nakamura
1ac0807b9e Fixed a bug 2021-01-03 17:59:45 +09:00
Koichi Nakamura
f81b22fb97 Need drop after create ... allot 2021-01-03 17:51:30 +09:00
Koichi Nakamura
eb62d20642 Fixed a bug 2021-01-03 17:51:07 +09:00
Koichi Nakamura
daef12b363 Add cmove, string and string, 2021-01-03 17:24:34 +09:00
Koichi Nakamura
70ddb49017 Change defnition of aligned and align. Add missing align at the top of :noname 2021-01-03 12:52:39 +09:00
Koichi Nakamura
fe234b5259 rename 'string' to 'litstring' 2021-01-03 09:36:41 +09:00
Koichi Nakamura
b6967eba48 Add add-error and exception 2021-01-03 08:17:41 +09:00
Koichi Nakamura
94a2d829c9 use statically allocate buffer for s" at immediate mode 2021-01-03 07:56:47 +09:00
Koichi Nakamura
62a3eee77e replace [ char ... ] literal to [char] ... 2021-01-03 07:56:27 +09:00
Koichi Nakamura
d1c0d93bec Reorder definitions 2021-01-03 02:01:26 +09:00
Koichi Nakamura
eea7ce9f3a Reorder definitions 2021-01-03 01:56:02 +09:00
Koichi Nakamura
2e5e9b3795 Wrote >number 2021-01-02 23:52:47 +09:00
Koichi Nakamura
db836051e0 Add number printers 2021-01-02 22:01:44 +09:00
Koichi Nakamura
45db4aeae8 Wrote 'throw' and 'catch' 2021-01-02 20:03:40 +09:00
Koichi Nakamura
657fbd550a fixed a bug of 'type' 2021-01-02 20:02:52 +09:00
Koichi Nakamura
d7a85fcc56 Rename string, to cmove, 2021-01-02 18:01:01 +09:00
Koichi Nakamura
3eaf59bae4 minor fix 2021-01-02 15:54:05 +09:00
Koichi Nakamura
7a67e8a57a Add align operations 2021-01-02 15:48:47 +09:00
Koichi Nakamura
1142fe1607 rename CMOVE, to STRING, 2021-01-02 15:36:08 +09:00
Koichi Nakamura
7b26a618c4 Rename cmove, to string, 2021-01-02 15:35:30 +09:00
Koichi Nakamura
35d4922551 fix comment 2021-01-02 14:09:18 +09:00
Koichi Nakamura
d816197fac fix copyright year 2021-01-02 13:29:46 +09:00
Koichi Nakamura
734f897a59 fix comments of bootstrap.fs 2021-01-02 13:14:16 +09:00
Koichi Nakamura
5d5bf83a5a Rename core.fs to bootstrap.fs 2021-01-02 12:51:25 +09:00
Renamed from core.fs (Browse further)