json65:用6502汇编语言编写的JSON解析器

时间:2021-05-07 15:35:02
【文件属性】:
文件名称:json65:用6502汇编语言编写的JSON解析器
文件大小:73KB
文件格式:ZIP
更新时间:2021-05-07 15:35:02
json retrocomputing 6502 6502-assembly C 我当时在看电视,有一个广告宣传,“是时候做你想做的事了!” 我在电视上回答:“是时候用6502汇编语言编写JSON解析器了?” 我不知道这不是他们的想法,但是电视是正确的,我应该做我想做的。 因此,这是我的JSON解析器。 核心解析器完全使用6502汇编语言编写,并打算用进行汇编。 但是,它应从C,并使用(特别是fastcall约定)。 JSON65可以在6502系列中的任何处理器上运行。 (它不使用任何65C02指令。) JSON65的汇编语言部分采用由所使用的零个页面位置cc65 ,在某种程度上这是与C调用约定兼容。 JSON65应该可以在cc65工具链支持的任何目标上使用。 我已经在sim65和未增强的Apple // e上sim65进行了测试。 解析器(json65.h) JSON65是事件驱动的(SAX样式)解析器,因此为解析器提供了一个回调函数,该回调函数针对每个事件
【文件预览】:
json65-master
----.gitignore(111B)
----README.md(9KB)
----tests()
--------file07.json(263B)
--------test-print.c(3KB)
--------test-string.c(2KB)
--------file05.json(57B)
--------create-testfile-disk-image.pl(2KB)
--------test-print.json(27KB)
--------file01.json(23B)
--------test-quote.c(1KB)
--------file06.json(40B)
--------file00.json(21B)
--------test-tree.c(3KB)
--------file02.json(16B)
--------test.c(18KB)
--------test-tree.json(373B)
--------test-file.c(2KB)
--------file03.json(18B)
--------file04.json(44B)
----run-tests.pl(6KB)
----examples()
--------input.json(147B)
--------example.c(4KB)
----src()
--------json65-quote.s(5KB)
--------json65.h(11KB)
--------json65.s(47KB)
--------json65-print.c(4KB)
--------json65-print.h(1KB)
--------json65-file.c(5KB)
--------json65-tree.h(6KB)
--------json65-file.h(5KB)
--------json65-quote.h(1KB)
--------json65-tree.c(5KB)
--------json65-string.h(3KB)
--------json65-string.s(6KB)
----LICENSE.txt(856B)
----tools()
--------README.md(94B)
--------asm-heading.hs(1KB)
--------random-json.hs(3KB)
--------debug.inc(4KB)
--------make_charprops.pl(2KB)
--------make_dispatch.pl(3KB)
--------convert_enums.pl(1KB)

网友评论