项目作者: peterheesterman

项目描述 :
Javascript JSON parser
高级语言: JavaScript
项目地址: git://github.com/peterheesterman/jjparse.git
创建时间: 2018-12-01T19:11:49Z
项目社区:https://github.com/peterheesterman/jjparse

开源协议:

下载


jjparse

Javascript JSON Parser

  • Simple to read
  • Getting better over time
  • Benchmark against rust version when i write that

Parsing will include tokenizing and analyzing. The resulting Abstract Syntax
Tree (AST) will be used to produce formatted json.

Tips and tricks

  • There is a line counter that we can use to understand how the repo is changing,
    we want to get this count as low as possible with it still being easy to read, it
    now excludes test which we want to grow in size over time.
Date # Lines Delta
2 Dec 768 -

Outstanding issues:

General:

  • The errors are not passed into the errors array that is the output of the parser.

Weak design:

  • If there is an error in the input, finding where that is, is nearly
    impossible from the error thrown.

Going to put this down and start on the rust implementation of a similar thing