summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkitty <nepeta@canaglie.net>2026-03-06 02:05:00 +1100
committerkitty <nepeta@canaglie.net>2026-03-06 02:05:00 +1100
commit0647f71d8a4dd5e93c0d64f13cea43978cef3ec8 (patch)
tree4f77255b2b144701ab1d7b4056a1cc76af894eb0
parent0b5c5193f34ab810260ee091a2ffbd82c422351a (diff)
todo in readme
-rw-r--r--jefs.fs2
-rw-r--r--jefs.s102
-rw-r--r--readme.md14
3 files changed, 66 insertions, 52 deletions
diff --git a/jefs.fs b/jefs.fs
index 3fb3dc1..8ba1e66 100644
--- a/jefs.fs
+++ b/jefs.fs
@@ -7,7 +7,7 @@
\ better syscall error handling
\ <builds does>
\ argc/argv
-\ file io
+\ load file
\ DUMP
\ custom Nicer line mode editing (like rlwrap)
diff --git a/jefs.s b/jefs.s
index b58c691..2ad8020 100644
--- a/jefs.s
+++ b/jefs.s
@@ -1146,57 +1146,57 @@ defword ">s0", to_s0, 0
mov r14, wstack
ret
-; TEMPORARY HORRIBLE DEBUGGING BULLSHIT {{{
-; debugging word; outputs raw bytes so needs to be piped through `x(x)d`
-; terrible and awful
-; W = r14; W <= wstack_b; W+=8
-defword ".s", dots, 0
- push r11
- push r12
-
- mov r12, r14
-.loop:
- cmp r12, wstack
- jge .done
-
- mov [.space], r12
- mov rdx, 8 ; qword
- mov rsi, .space
- mov rdi, 1
- mov rax, __NR_write
- syscall
-
- mov rdx, 8 ; qword
- mov rsi, r12
- mov rdi, 1
- mov rax, __NR_write
- syscall
- lea r12, [r12+8]
- jmp .loop
-
-.done:
- mov rdx, 16 ; 2 qword
- mov rsi, .dmsg
- mov rdi, 1
- mov rax, __NR_write
- syscall
-
- pop r12
- pop r11
- ret
-.space: resq 1
-.dmsg: db "DONEDONEYIPPEEEE"
-
-defword "HEREDUMP", heredump, 0
- mov rdx, [here]
- mov r11, [herestart]
- sub rdx, r11
- mov rsi, [herestart]
- mov rdi, 1
- mov rax, __NR_write
- syscall
- ret
-; }}}
+; ; TEMPORARY HORRIBLE DEBUGGING BULLSHIT {{{
+; ; debugging word; outputs raw bytes so needs to be piped through `x(x)d`
+; ; terrible and awful
+; ; W = r14; W <= wstack_b; W+=8
+; defword ".s", dots, 0
+; push r11
+; push r12
+;
+; mov r12, r14
+; .loop:
+; cmp r12, wstack
+; jge .done
+;
+; mov [.space], r12
+; mov rdx, 8 ; qword
+; mov rsi, .space
+; mov rdi, 1
+; mov rax, __NR_write
+; syscall
+;
+; mov rdx, 8 ; qword
+; mov rsi, r12
+; mov rdi, 1
+; mov rax, __NR_write
+; syscall
+; lea r12, [r12+8]
+; jmp .loop
+;
+; .done:
+; mov rdx, 16 ; 2 qword
+; mov rsi, .dmsg
+; mov rdi, 1
+; mov rax, __NR_write
+; syscall
+;
+; pop r12
+; pop r11
+; ret
+; .space: resq 1
+; .dmsg: db "DONEDONEYIPPEEEE"
+;
+; defword "HEREDUMP", heredump, 0
+; mov rdx, [here]
+; mov r11, [herestart]
+; sub rdx, r11
+; mov rsi, [herestart]
+; mov rdi, 1
+; mov rax, __NR_write
+; syscall
+; ret
+; ; }}}
; maybe some of these should be constants?
defvar "tib", tib, 0, initfile
diff --git a/readme.md b/readme.md
index 7fd313d..eca9368 100644
--- a/readme.md
+++ b/readme.md
@@ -7,6 +7,20 @@ if you use it and it breaks, too bad
public domain
+## TODO
+i want to get to Version 1 soon, here are some things
+i am thinking of completing before that.
+
+- `s\"`
+- `DO` + `LOOP`
+- `{+,-}TO
+- `\<BUILDS` and `DOES>`
+- reading from files
+- DUMP
+- argc + argv
+
+not all of these will be included. we'll see
+
## dictionary
the dictionary follows a fairly standard format.