revs-beebasm
json65
revs-beebasm | json65 | |
---|---|---|
2 | 6 | |
27 | 238 | |
- | - | |
6.9 | 1.8 | |
2 months ago | about 3 years ago | |
Assembly | C | |
- | zlib License |
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.
revs-beebasm
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
What are some alternatives?
NES-dev - A simple NES game written in 6502 assembly
6502-emu - A simple 6502 emulator, with I/O via a 6850 UART.
apple2_hgrbyte - Explore the Apple 2 HGR amd DHGR esoteric screen layout with bit twiddling and byte manipulation.
rapidyaml - Rapid YAML - a library to parse and emit YAML, and do it fast.
beebjit - A very fast BBC Micro emulator.
lzsa - Byte-aligned, efficient lossless packer that is optimized for fast decompression on 8-bit micros
PLASMA - Proto Language AsSeMbler for All (formerly Apple)
acme - ACME 6502/65C02 Assembler
c64-elite-flicker-free - A patch for Commodore 64 and Plus/4 Elite that removes the flicker
SmallJSONParser - A streaming JSON parser in C using no memory allocations.
sunset - Retro sunset scene on NES
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime