Skip to content

maplefeline/compiler-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaaS

A microservice API that takes a resource expected to contain a PEG grammar and returns a syntax tree for that grammar.

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

bootstrap PEG api transforms

curl 'http://localhost:8080/api/peg/peg?src=http%3A%2F%2Flocalhost%3A8080%2Fresources%2Fpeg%2Epeg' | jq --sort-keys > ./spec/static.json
# check schemas
curl 'http://localhost:8080/api/peg/peg/schema.json'
curl 'http://localhost:8080/api/peg/peg/schema/schema.json'

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

About

Compiler as a Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published