cl-rte
2026-11-29
Regular type expressions implementation
REGULAR-TYPE-EXPRESSION (RTE)
Synopsis
This project contains several Common Lisp packages. The packages fall into three categories.
- Usable to the general public.
- Used for analysis in PhD thesis.
- Used for testing other packages in.
Motivation
The implementation of rational type expression is the main result of this project. However, several intermediate results might be useful as well, so they are made available.
Packages usable for the general public
rte
Definition of the RTE CL type. A type (and supporting functions) which implement rational type expressions.
rte-regexp
Simple string regular expression matcher based on rte
2d-array
Extensible sequence classes to represent vertical and horizontal "slices" of 2d arrays
dispatch
Implementation of the function SPECIALIZER-INTERSECTION
Installation
This code loads via asdf. rte.asd loads the RTE system and its dependencies. However, if you do not wish to use RTE, you may also use ndfa.asd, 2d-array.asd, or lisp-types.asd as starting points.
External dependencies
This code references several external asdf systems. These may be found and installed using quicklisp or gitlab.lrde.epita.fr.
cl-fad (quicklisp)
closer-mop (quicklisp)
subtypep (gitlab.lrde.epita.fr)
bordeaux-threads (quicklisp)
yacc (quicklisp)
cl-robdd
ndfa
adjuvant
scrutiny
lisp-types
API Reference
to-be-done
Tests
Testing is done using scrutiny. You may load the system code without the tests via rte.asd, ndfa.asd, 2d-array.asd, or lisp-types.asd. But if you wish to run the tests, the starting points are respectively rte-test.asd, ndfa-test.asd, 2d-array-test.asd, and lisp-types-test.asd. Within each corresponding subdirectory the files containing scrutiny test cases are all prefixed by "test-". To run the tests, you'll need to use ASDF to load the corresponding asdf system definition, e.g.,
CL-USER> (asdf:load-system :rte-test) CL-USER> (in-package :rte-test) TEST> (rte-test::test)
Contributors
The majority of the code development has been done by Jim Newton, doctoral candidate at UPMC EPITA LRDE.
License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation
files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.