Skip to content
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.

Latest commit

 

History

History
44 lines (36 loc) · 901 Bytes

Readme.md

File metadata and controls

44 lines (36 loc) · 901 Bytes

Arc Hive

Site LICENSE LICENSE

Arc Readable Configuration: https://github.com/Moe-Net/Arc-Language

Install

yarn add @nyar/arc-ir
npm install @nyar/arc-ir

Start

import { ArcParser } from '@nyar/arc-ir'
const ans = ArcParser(`
(a)
b = null
(/c)
d = true
e/f = false
`)
console.log(JSON.stringify(ans, null, 4))
{
    "a": {
        "b": null,
        "c": {
            "d": true,
            "e": {
                "f": false
            }
        }
    }
}