Skip to content

hyperthunk/sjx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slx Jms Exchange

A front end for SLX that parses a reasonable subset of JMS 1.1 Selector Expressions.

The scanner and parser are both generated using the OTP Leex and Yecc libraries. The jms_rules module provides the semantic rule base which SLX uses when generating the compiler back end (SLX is a back end that generates compiler back ends, as it were).

Note that no action module is supplied with this library: in order to produce a useful compiler for JMS Selectors, you will need to combine build an action callback module. One project that demonstrates how to do this is the RabbitMQ JMS Selector Exchange, which can be found on GitHub here.

Building

This code base is managed using [rebar][rebar], and you will require an up date date version in order build the source code. Alternatively (for those who're 'setup averse') there is a wrapper makefile that will bootstrap everything you need, provided you're running in a unix environment.

Dependencies

Because of the way in which SLX is designed, this project has no actual dependencies apart from Erlang/OTP and [rebar][rebar] (if you're building from source). You're free to make use of the scanner and lexer as two completely independent modules if you wish.

For more details on how to use SLX to build a simple back-end, head over to the project's GitHub page via the links on this page.

License

This project is distributed under the same, permissive, MIT license as SLX.

Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages