Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

net.akehurst.language:agl-processor-js

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

net.akehurst.language:agl-processor-js

Dynamic, scan-on-demand, parsing; when a regular expression is just not enough

  • 4.0.1
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

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

FAQs

Package last updated on 16 Oct 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc