Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

projects and friends thread

Name: Anonymous 2014-05-19 20:17

Post what you're working on and chat and help out others.

I'm making my frst real compiler, one that actually outputs assembly rather than targetting another high level language. It's just going to be a simple scheme compiler. I started on it today, wrote a parser/read and tested it on its own source code.

What are you all making?

Name: Anonymous 2014-05-21 1:09

>>27
I'm not really done with it yet, but here's some alternatives I found when I first started trying to figure out how it worked:

https://code.google.com/p/termbox/ -- Ncurses alternative that isn't a bloated pile of shit

http://www.leonerd.org.uk/code/libtermkey/ -- Good library for terminal input, detects a lot more and works more reliably for me on uxterm than ncurses ever did

http://asm.sourceforge.net/articles/rawkb.html -- An article on how to use raw input mode for the Linux framebuffer, it's in ASM but it can be converted into C since it just uses syscalls. The hardest part about this is that not every keyboard has the consistent scancodes, and this also ignores higher level keyboard configuration, such as regional keyboard layout settings (you're basically reading straight from the keyboard driver).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List