Socket
Book a DemoInstallSign in
Socket

idyll-compiler

Package Overview
Dependencies
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idyll-compiler

Compiler for idyll

latest
Source
npmnpm
Version
5.0.0-alpha.2
Version published
Weekly downloads
33
-21.43%
Maintainers
2
Weekly downloads
 
Created
Source

idyll-compiler

Lexer and parser for Idyll lang. If you want to embed Idyll on your webpage, use the idyll-document package.

Installation

$ npm install --save idyll-compiler

Usage

import { compile } from 'idyll-compiler';

compile(inputString, options).then(ast => {
  // Do something with the generated abstract syntax tree.
});

Developing

  • Clone this repo
  • Bootstrap with lerna: lerna bootstrap (run from the top level folder)
  • Make your changes
  • Run the tests: lerna run test

If you want to make a change, add a failing test, update the compiler so that the test passes, then submit a PR.

Keywords

idyll

FAQs

Package last updated on 12 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts