Skip to content

Latest commit

 

History

History

hello

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Hello World Sample

This is an example of a parser written in XCHEME Lang for parsing your first Hello world!

Usage

For generating the parser in JavaScript:

xcm -s ./samples/hello/parser.xcm -t ./parser.js

Make sure you have the package @xcheme/core installed.

For running the parser instantly:

xcm -s ./samples/hello/parser.xcm -t ./samples/html/input.txt --run

Change the option -t with another location for parsing another HTML source.