Giter Site home page Giter Site logo

jorge-recio / net.akehurst.language Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dhakehurst/net.akehurst.language

0.0 0.0 0.0 22.44 MB

Generic Language (DSL) support for kotlin multiplatform (parser, syntax-analyser, formatter, processor, etc)

License: Apache License 2.0

Java 0.36% Kotlin 95.34% ANTLR 3.37% Rascal 0.92%

net.akehurst.language's Introduction

Maven Central npm Generic badge

AGL: A Grammar Language (or maybe Akehurst Grammar Language!)

Generic Language (DSL) support for kotlin multiplatform (parser, syntax-analyser, formatter, processor, etc)

There are many parser technologies, frameworks, generators, libraries that already exist. When I first started this one in about 2007 there was none that met all the requirements that I have. It has taken me several years (too many) to finally reach the stage where I am happy to publish it. (mostly because it was a home project and not worked on very frequently until the last couple of years, 2017/2018).

My Requirements:

  • Simple grammar for defining a language with no restrictions -- i.e. should support left & right recursive rules,
  • Useable in Java and Javascript (other platforms/languages a bonus but not essential)
  • No need to worry about keyword/identifier clashes
  • Interpreted at runtime, i.e. no generate parser step.
  • Supports families of languages, i.e. grammar composition/extension

Other

Articles

TODO

lots:

  • performance improvements
  • PT is not always what one expects

Build

There are currently a number of failing tests, these indicate things to be fixed, and desired performance improvements. To build locally the latest version, use assemble or publishToMavenLocal.

> cd net.akehurst.language
> ./gradlew clean assemble

net.akehurst.language's People

Contributors

annekekleppe avatar dependabot[bot] avatar dhakehurst 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.