Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 595 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 595 Bytes

jsonasm

JSON validator written in x86 assembly.

Why?

I wrote this purely to better my own understanding of lower level langauges. Please do not use this.

Usage:

  • Build the executable with the build script.

    $ ./build.sh jsonasm.asm
  • Run it with the included valid test file or other json file.

    $ ./build/jsonasm test/valid.json
    JSON is valid!
  • Or run it with invalid json.

    $ ./build/jsonasm test/invalid1.json
    {"float":12.34"another float":43.21}
    expected '}' at index 14 but found '"'