You are browsing as a guest. Sign up (or log in) to start making projects!

7h 36m 50s logged

I’ll be taking a break over the weekend, as I’ve just completed my final exams and I’m celebrating. I’ll be back proper on Monday.

Today I worked on creating a trie for Crawssembly’s commands, which can be used to increase efficiency in my compiler to parse instructions faster. Rather than checking every char for every instruction like

cal add -65 r01                ; if r01 = 65, this will be 0
ifz 10                         ; continue if 0
    cal add -70 r02            ; if r02 = 65, this will be 0
    ifz 20                     ; continue if 0
        etc...

I can split each branch into separate instructions, reducing line count and time-to-compile

0
46

Comments 0

No comments yet. Be the first!