seninha has quit [Remote host closed the connection]
seninha has joined #picolisp
seninha has quit [Quit: Leaving]
m_mans has joined #picolisp
m_mans has quit [Ping timeout: 268 seconds]
seninha has joined #picolisp
m_mans has joined #picolisp
seninha has quit [Remote host closed the connection]
m_mans_ has joined #picolisp
m_mans has quit [Read error: Connection reset by peer]
m_mans_ has quit [Remote host closed the connection]
m_mans has joined #picolisp
<aw->
hi all
<abu[m]>
Hi aw-!
m_mans has quit [Remote host closed the connection]
m_mans has joined #picolisp
m_mans has quit [Ping timeout: 268 seconds]
<aw->
I wrote my own Forth, in RISC-V Assembly
<aw->
there's still 2 small bugs i'm trying to fix now, otherwise it's fully functional
<abu[m]>
Cool! Forth is really a lot of fun!
<aw->
assembly is hard.. not writing assembly, but keeping track of all the registers and operations on memory addresses is sometimes dizzying haha
<abu[m]>
Yes. On 8-bit CPUs it was a lot easier.
m_mans has joined #picolisp
<aw->
next is to write mini-PicoLisp in risc-v assembly
<abu[m]>
Do you use a 32-bit arch?
<aw->
yes 32-bit arch
<aw->
load/store, not as complex as x86
<abu[m]>
yep
<abu[m]>
How many instructions does your 'next' need?
<abu[m]>
When Forthers meet, each asks the other about his 'next' ;)
<abu[m]>
Direct- vs. indirect threading etc.
<abu[m]>
For direct threading, 'next' can be a single instruction
<aw->
abu[m]: this is _exactly_ the bug i'm trying to fix, right now it's direct threading, NEXT is 3 instructions but... i'm thinking of switching to indirect