Skip to content

Tools for working with Teak expressions in JavaScript

License

Notifications You must be signed in to change notification settings

PaulAustin/teakjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BuildStatus

NOTE: In development

This is a preliminary version published for use by collaborators.

Teak Tools

Teak is a functional data language used to describe data in the form of scalars, lists, trees, or general graphs. It's grammar draws from LISP and JSON.

LISP grammar elements

  • One composition from, s expressions.
  • Space is separator
  • Symbol definition and reference
  • Comments

JSON grammar elements

  • Name value pairs (optional)
  • UTF8 encoding
  • Unicode escapes

TEAK specific elements

  • IEEE 754 floating point
  • Optional names used as anchor tags

The Teak NPM package provides tools to work with teak expressions in JavaScript.

Installation

 npm install teak

Use

var teak = require('teak');

console.log(teak.parse('(1 2 3 4)'));
// -> [ 1, 2, 3, 4 ]

About

Tools for working with Teak expressions in JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published