Giter Club home page Giter Club logo

lemp-repl's Introduction

LeMP-repl

LeMP-repl is a super simple interactive program that that reads unprocessed EC#, LES v2 or LES v3 code as input and produces processed or unprocessed EC#, LES v2 or LES v3 code as output.

Here's what LeMP-repl looks like in action:

LeMP-repl usage

Easy, right? It's just a simple tool that makes it much easier to look at and reason about EC# syntax trees.

Build instructions

LeMP-repl is fairly straightforward to build. Just do this following:

$ nuget restore
$ msbuild /p:Configuration=Release

Technologies

  • LeMP-repl is mostly just a wrapper around David Piepgrass' amazing Lexical Macro Processor (LeMP) and Enhanced C# (EC#) parser, both of which can be found here.

  • LeMP-repl uses Pixie for option parsing and error logging.

Options

LeMP-repl tries to fulfill a simple use case, so there aren't a lot of options. Here's a full list, adapted from --help:

Input and output

  • --input-language=⟨language⟩, -i⟨language⟩

    Selects an input language, which can be either ecs, les, les2 or les3. By default, the input language is ecs.

  • --no-process-macros, -p

    Turns off macro processing by LeMP.

  • --output-language=⟨language⟩, -o⟨language⟩

    Selects an output language, which can be either cs, ecs, les, les2 or les3. By default, the output language is les.

Overall options

  • --help, -h, -?

    Display a help message and exit.

lemp-repl's People

Contributors

jonathanvdc avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.