🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

lidl-core

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lidl-core

The LIDL Interaction Desccription Language

latest
npmnpm
Version
0.8.9
Version published
Maintainers
1
Created
Source

LIDL Core

Getting started

lidl-core is a JS library that provides tools necessary to compile and analyze LIDL programs. For a command-line compiler, see lidl-cli, for an interactive IDE, see lidl-sanbox.

Prerequisites

lidl-core requires a version of Node.js greater than v4.0.0. The simplest way to install node.js on any platform is to download it from the official site. You can test that you have a correct Node.js installation by launching:

node --version

Installation

The simplest way of installing lidl-core is to install it from NPM, in the directory of your choice:

cd myDirectory/
npm install lidl-core

Usage

This package is a JS library. It offers various tools, listed in index.js. For example, to use the simple compiler in a Node.js program:

var Lidl = require('lidl-core');

var codeLidl = "interaction (bob):Number out is (5)";
var headerJs = Lidl.examples.header;

Lidl.compiler.simpleCompile(
  codeLidl,
  headerJs,
  function(codeJs){console.log(codeJs);}
);

Development

If you have access to the Git repository and want the latest version of lidl-core, you can also clone it and set it up using npm install:

cd myDirectory/
git clone https://<<your name>>@git.onera.fr/LIDL
cd lidl-core/
npm install

Keywords

iii

FAQs

Package last updated on 16 Dec 2015

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