Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.
/ classy_eXPL Public archive

Extends Expression Pattern Language (eXPL) for lightweight JPA with Classy Tools

License

Notifications You must be signed in to change notification settings

cybersearch2/classy_eXPL

Repository files navigation

classy_eXPL

Extends Expression Pattern Language (eXPL) for lightweight JPA with Classy Tools See below for information on eXPL.

Depends on Classy Tools as a foundation library, so shares with it the use of Dagger Dependency, Bean utilities and most importantly, a Java Persistence API implementation.

Getting Started

The instructions for getting started can be found at eXPL Extensions Home Page. You will need to clone this project from the Github site and then use Maven to install it. Both Java SE version 7 and above and Maven need to be installed in order to proceed. Once the project is installed you can progress through the Persistence tutorial examples.

eXPL

Expression Pattern Language (eXPL) combines two programming paradigms: Logic and Imperative. The language executes queries which perform operations with data structures. This is the logic paradigm component, but expressions are formed using Java syntax and permit procedural operations characteristic of the imperative paradigm. The data structures provide the patterns that feature in the name of the lanaguage and they make programming easy, even fun.

Getting Started

The instructions for getting started can be found at eXPL Home Page. You will need to clone this project from the Github site and then use Maven to install it. Both Java SE version 7 and above and Maven need to be installed in order to proceed. Once the project is installed you can progress through the Reference while running the numerous tutorial examples to learn about the eXPL language.

Classy logic features

All eXPL code is available under the Open Source GPLv3 license. There is a lot of borrowing from Java, such as expression syntax and identifiers, but also access to components of the Java runtime such as regular expressions and locales. The language is not strongly typed, but a new currency type is a boon for performing financial calculations and supporting internationalization. There are also NaN (not a number) and "unknown" types for dealing with inpcomplete, real-world data.

The eXPL language is terse, with keywords reserved mostly for structural elements, three of which come from logic programming,: "axiom", "template" and "term". There are also two different selection mechanisms which very useful and share the keyword "choice".

Something else to look out for are scopes, which are namespaces which can be assigned individual locales and properties. Scopes facilitate dealing with categories in which different rules, rates etc apply while applying local formats in the case of international categories.

=======

About

Extends Expression Pattern Language (eXPL) for lightweight JPA with Classy Tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published