Skip to content

xtao-org/tao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Reference parser for TAO

This is a parser for the TAO syntax grammar.

It is implemented in simple JavaScript, as a module.

The implementation can be used as a reference for other parsers, in particular in programming languages similar to JavaScript.

Interactive version

Interactive version of the parser can be tried at tree-annotation.org.

Usage

To use the parser module, import it into your code, for example like this:

import {parse, unparse} from "https://raw.githubusercontent.com/tree-annotation/tao/v1.0-beta/parser.js"

// ...

console.log(unparse(parse("hello, world!"))) // prints `hello, world!`

Note: this example imports the v1.0-beta version directly from GitHub (as specified in the URL).

About

Reference parser for TAO

Resources

Stars

Watchers

Forks

Packages

No packages published