This repo contains the Language Specification and a couple of npm packages of parser, renderer and editor.
Inspired by YAML, Markdown, AIML and PHP template syntax Smarty, ZAML is a human readable marked up language which could be easily transformed into computer data structure.
This is a simple sample of ZAML
---
foo: bar
---
#Question
What is your name?
#Answer
My name is [Jack]{PER}
For more examples, please checkout test cases
Please try ZAML online editor:
https://nexushubs.github.io/zaml-lang/
Package | Version | Description |
---|---|---|
@zaml/parser | Javascript tokenizer & lexer for ZAML | |
@zaml/extract | Entity extracting helper for ZAML | |
@zaml/editor | ZAML source code editor write in React try online |
ZAML is designed for text samples of machine learning, checkout application scenario
The Javascript packages of this repo is managed as a monorepo that is composed of many npm packages.