Hacker GitHub

← All repos

tekknolagi/carp

View on GitHub ↗ ★ 984 C archived

"interesting" VM in C. Let's see how this goes.

8 mentions on Hacker News by 4 people: 1 story, 7 comments · first 2014-03-06 · latest 2016-11-28

Mentions per year 8 mentions · busiest year 2014 (7)
20082026
  1. Try making a small virtual machine first - https://github.com/tekknolagi/carp/blob/master/README.md
  2. …tokenizer (as opposed to relying upon strtok()) and lexer, and then also a bytecode reader/writer. http://github.com/tekknolagi/carp
  3. …like a good place to just use a function to encapsulate all the error checking and handling. [1] https://github.com/tekknolagi/carp/blob/master/src/carp_inst... [2] http://www.embedded.com/design/programming-languages-and-too... and the…
  4. Can you give some directions for how to run it? $ git clone https://github.com/tekknolagi/carp $ make $ ./carp $ ./carp --help # after peeking in carp.c help msg There's a tantalizing target called 'tests' in the Makefile, but it doesn't…
  5. …virtual machine called Carp. I've no idea what I'm going to do with it, so feel free to chip in! http://github.com/tekknolagi/carp
  6. …asm, and a bit about how a simple CPU works. Ish. I also got a bit acquainted with comp.lang.c :) http://github.com/tekknolagi/carp
  7. …Carp. It's pretty darn limited but as of now looks kind of like MSP430 (from TI). Take a look: http://github.com/tekknolagi/carp
    comment by tekknolagi · 2014-03-06 · in Ask HN: Show us your work in progress