NailIt — a literate programming tool

2024-03-31 Thread Zumi
I think I've heard of those! And yeah… while orgmode from what I've seen is useful for basically everything, you're right, I'm not an Emacs user :) (Nimib(ook) is really cool though) And those tools—as I understand it—don't really let you order your code in any other way other than in a straigh

NailIt — a literate programming tool

2024-03-30 Thread Zumi
Source code: Example using its own source: * * * This is a minimal tool for [literate programming](https://en.wikipedia.org/wiki/Literate_programming), a way of programming that seems to best be described as "pretend you'r

Found a Niche that only Nim can do: Easy Retro(e.g. MOS 65xx) Development with ORC/ARC

2024-02-04 Thread Zumi
> Do you mean Nim doesn't have out of the box 8-bit CPU support? If that's the > case then, it is indeed a problem. Well you do need to "hack" the compiler anyway into accepting weird use-cases somehow, and there's only so many platforms that Nim can realistically support… At least GBA has the

Found a Niche that only Nim can do: Easy Retro(e.g. MOS 65xx) Development with ORC/ARC

2024-02-04 Thread Zumi
More of this kinda stuff would be interesting to see, but I am not quite confident yet with the hardware of any of those machines to give it a shot myself at the moment. There already exists dedicated C compilers for 65xx such as [SDCC](https://sdcc.sourceforge.net/) and [CC65](https://cc65.git

Pocket Clicker — proof of concept Game Boy "game"

2024-02-01 Thread Zumi
My earlier try was as simple as a `proc echo (s: string) = printf((s & "\n\n").cstring)` in the same file :P (yeah, no varargs…) I am aware of the term-rewriting macro method however, but this turned out not to be necessary yet in my case. Though I have since made my version also [take a VRAM p

Pocket Clicker — proof of concept Game Boy "game"

2024-01-30 Thread Zumi
# The game itself (boring) I made a sorta-proof-of-concept game for the original Game Boy in Nim (with the help of GBDK/SDCC as the compiler), with custom assembly bootstrapping and minimal dependency on GBDK libraries. Basically, it's a very simple