From a4bb11f25eba5db42355a09a6120065bd222033c Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Mon, 8 May 2023 12:39:52 +0200 Subject: [PATCH] aflex 1.6.0 (#806) --- index/af/aflex/aflex-1.6.0.toml | 47 +++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 index/af/aflex/aflex-1.6.0.toml diff --git a/index/af/aflex/aflex-1.6.0.toml b/index/af/aflex/aflex-1.6.0.toml new file mode 100644 index 00000000..54385ff0 --- /dev/null +++ b/index/af/aflex/aflex-1.6.0.toml @@ -0,0 +1,47 @@ +description = "An Ada Lexical Analyzer Generator" +name = "aflex" +version = "1.6" +licenses = "Unlicense" +authors = ["John Self"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] +tags = ["parser", "generator", "grammar"] +website = "https://github.com/Ada-France/aflex" +executables = ["aflex"] +long-description = """ + +Aflex is a lexical analyzer generating tool similar to the Unix tool lex. + +The first implementation was written by John Self of the Arcadia project +at the University of California, Irvine. The last version that was released +appeared to be the aflex 1.4a released in 1994. + +Aflex was used and improved by P2Ada, the Pascal to Ada translator. +This version of Aflex is derived from the P2Ada aflex implementation +released in August 2010. + +This version brings a number of improvements: + +- Aflex generates the spec and body files as separate files so that + there is no need to use gnatchop to split the DFA and IO files. +- Aflex uses the lex file name to generate the package name and + it supports child package with the `%unit` directive. +- Aflex supports reentrant scanner through the use of `%option reentrant`, + `%yyvar` and `%yydecl` directives. + +""" + +[gpr-externals] +AFLEX_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + +[configuration] +disabled = true + +[environment] +PATH.prepend = "${CRATE_ROOT}/bin" +MANPATH.prepend = "${CRATE_ROOT}/man" + +[origin] +commit = "b3c21d99666ba433071cd423dfeaab57b4a936b5" +url = "git+https://github.com/Ada-France/aflex.git" +