Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/NicolasLopes7/json-parser

✨ a simple json parser. compiler engineer wannabe. (WIP)
https://github.com/NicolasLopes7/json-parser

Last synced: about 1 month ago
JSON representation

✨ a simple json parser. compiler engineer wannabe. (WIP)

Awesome Lists containing this project

README

        

# json parser
This is a simple parser made in Typescript, and tested with Vitest. ✨

## Steps
It has only two simple steps:
- The Lexer
- Split all the characters in tokens, and create literals in keywords.
- The Parser
- Creates an AST (Abstract Syntax Tree) with the tokens provided by the lexer

## How to use

- Clone the Repo ```❯ git clone https://github.com/NicolasLopes7/json-parser```
- Go to the directory and install dependencies ```❯ cd json-parser && pnpm i```
- Run the project ```❯ pnpm start```
- If you want to run the tests ```❯ pnpm test```