Activity

ayo

Configured my laptop (hostname: monsoon)! Most of the work was done before (in the time of my last devlog) so I just tidied up the files and committed them.

NOTE: Again, not really sure what to attach for this first devlog so have a screenshot :D

Attachment
0
ayo

Configured my VPS (hostname: levanter)! It’s a declarative NixOS/Home Manager installation with:

  • Disks configured with Disko (very cool!)
  • A Caddy web server managing web services (duh)
  • My parent’s WordPress website
  • A Git server with SSH and HTTP access and gitweb UI.

(NOTE: I’m not sure what to attach for dotfiles, I screenshotted some shell commands on the server.)

Attachment
0
ayo

Refactored the scanner a bit and switched to the Zig Build System. Then I modelled ASTs with tagged unions (so much better than how the book does them in Java) and wrote a simple pretty printer (outputs Lispish strings) before implementing the parser! (just for expressions currently.) I’ve never really worked with a language with manual memory management, it’s being fun and interesting but as you can see just as I was running it for to take a screenshot it broke. Onto debugging!

UPDATE: Fixed invalid free (check new attachment for working pretty printing)

Attachment
Attachment
0
ayo

Implemented the scanner! Zig is a really fun language to use and I’m enjoying it’s surprises.

Attachment
0
ayo

Hello, World!

Attachment
3

Comments

Sevasti
Sevasti about 2 months ago

OPERATING SYSTEM???

Sevasti
Sevasti about 2 months ago

followed

Saif
Saif about 2 months ago

no way, that’s crazy

ayo

Moved to Eleventy! I kept overcomplicating things so I went back to the basics, but me being me I still overcomplicated stuff, mostly the Caddyfile, but it works now!

Attachment
0
ayo

Implemented support for async components in my JSX runtime! I’m really proud of the result, for example — to render your document — just await the root component! Such a clean design! This took so long because I wasn’t super familiar with everything promises and since it’s all built around them it took some of trial and error and two different iterations.

Attachment
0
ayo

(I accidentally deleted my original devlog, it logged around 9:30h and went something like this)

  • Started this project!
  • Made my own JSX runtime
  • Implemented a URL pattern pattern string parser
  • Implemented URLPatternList
  • Implemented URLPattern.compareComponent
Attachment
0