Skip to content

nexushubs/zaml-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZAML - Zebra (Hybrid) AI Markup Language

ZAML Logo

Introduction

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.

Quick Look

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

Try It Yourself

Please try ZAML online editor:

https://nexushubs.github.io/zaml-lang/

Packages

Package Version Description
@zaml/parser npm Javascript tokenizer & lexer for ZAML
@zaml/extract npm Entity extracting helper for ZAML
@zaml/editor npm ZAML source code editor write in React try online

FAQ

What is the purpose of ZAML?

ZAML is designed for text samples of machine learning, checkout application scenario

How is the repo structured?

The Javascript packages of this repo is managed as a monorepo that is composed of many npm packages.

This structure was introduced by BABEL and managed by lerna

License

MIT