json65
stoc
json65 | stoc | |
---|---|---|
6 | 1 | |
238 | 3 | |
- | - | |
1.8 | 0.0 | |
about 3 years ago | over 2 years ago | |
C | C | |
zlib License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
json65
- A JSON parser in 6502 assembly language
-
Hacker News top posts: Mar 1, 2021
JSON parser written in 6502 assembly language\ (69 comments)
-
JSON parser written in 6502 assembly language
The "Library organization" section [1] explains that the json65.s file is the core of the library and the only code necessary to build the library. The additional C code provides a handy tree structure and a callback to pass to the parsing engine.
However, because SAX is a callback-oriented parsing method, you can design your own data structure and write your own callback functions and do without this tree structure.
The additional C code provides similar nice-to-haves, such as string pool interning, a function to print out the aforementioned tree structure, and a wrapper function to parse json from a file.
[1] https://github.com/ppelleti/json65#library-organization
stoc
-
Just wanted to share this feeling…
I have a similar story. I developed strop in Rust after doing a similar thing in C. And even though I knew no Rust when I started, and even though it's the hardest problem I've done on my own, it's like the language and everything set me up for success.
What are some alternatives?
6502-emu - A simple 6502 emulator, with I/O via a 6850 UART.
puNES - Qt-based Nintendo Entertaiment System emulator and NSF/NSF2/NSFe Music Player (Linux, FreeBSD, OpenBSD and Windows)
revs-beebasm - Fully documented and annotated source code for Revs on the BBC Micro
lzsa - Byte-aligned, efficient lossless packer that is optimized for fast decompression on 8-bit micros
rapidyaml - Rapid YAML - a library to parse and emit YAML, and do it fast.
AppleWin - Apple II emulator for Windows
fastbasic - FastBasic - Fast BASIC interpreter for the Atari 8-bit computers
acme - ACME 6502/65C02 Assembler
v-mode - 🌻 An Emacs major mode for the V programming language.
SmallJSONParser - A streaming JSON parser in C using no memory allocations.
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime