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