-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
emacs_ada_mode 8.1.0, emacs_gpr_mode 1.0.4 (#905)
* Release ada-mode 8.1.0, gpr-mode 1.0.4 and dependencies * Fix "incorrect line termination" bug * index/wi/wisitoken/wisitoken-4.2.0.toml: Patched for "incorrect line termination" in s-memory.adb. * One more try for "incorrect line termination" bug * index/wi/wisitoken/wisitoken-4.2.0.toml: Fix syntax in .gitattributes. * * index/wi/wisitoken/wisitoken-4.2.0.toml: One more try * * index/wi/wisitoken/wisitoken-4.2.0.toml: Another try * * index/wi/wisitoken/wisitoken-4.2.0.toml: One more try * * index/wi/wisitoken/wisitoken-4.2.0.toml: This should work
- Loading branch information
1 parent
3b343bb
commit c460cca
Showing
6 changed files
with
199 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name = "emacs_ada_mode" | ||
description = "Parser for Emacs ada-mode" | ||
tags = ["emacs", "ada-mode"] | ||
version = "8.1.0" | ||
licenses = "GPL-3.0-or-later" | ||
|
||
authors = ["Stephen Leake"] | ||
maintainers = ["Stephen Leake <[email protected]>"] | ||
maintainers-logins = ["stephe-ada-guru"] | ||
|
||
website = "https://www.nongnu.org/ada-mode/" | ||
|
||
project-files = ["emacs_ada_mode.gpr"] | ||
|
||
executables = ["ada_mode_wisi_lalr_parse", | ||
"ada_mode_wisi_lr1_parse", | ||
"run_ada_lalr_parse", | ||
"run_ada_lr1_parse" | ||
] | ||
|
||
[[actions]] | ||
type = "pre-build" | ||
command = ["make", "-f", "Alire.make", "ada_annex_p_re2c.c"] | ||
|
||
[[depends-on]] | ||
stephes_ada_library = "~3.7.3" | ||
wisitoken = "~4.2.0" | ||
emacs_wisi = "~4.3.0" | ||
|
||
# Debian 11.2 Bullseye Dec 2022 has re2c 2.0.3 | ||
re2c = ">=2.0.3" | ||
|
||
# We use Ada 2022 syntax, so need the -gnat2022 switch; introduced in gnat FSF 11, Community 2021. | ||
gnat = "(>=11 & <2000) | >=2021" | ||
|
||
|
||
[origin] | ||
commit = "114ab44aa9ccfaa004f450426b7a14bff1ebe347" | ||
url = "git+https://git.savannah.nongnu.org/git/ada-mode.git" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name = "emacs_gpr_mode" | ||
description = "parser for Emacs gpr mode" | ||
tags = ["indent", "highlight", "parser", "gpr", "emacs"] | ||
version = "1.0.4" | ||
licenses = "GPL-3.0-or-later" | ||
|
||
authors = ["Stephen Leake"] | ||
maintainers = ["Stephen Leake <[email protected]>"] | ||
maintainers-logins = ["stephe-ada-guru"] | ||
|
||
website = "https://elpa.gnu.org/packages/gpr-mode.html" | ||
|
||
long-description = """ | ||
Generalized LR error-correcting parser generated using WisiToken, | ||
interfaced to Emacs via the wisi package. | ||
Provides semantic highlighting, indent, single-file navigation. | ||
""" | ||
|
||
project-files = ["emacs_gpr_mode.gpr"] | ||
|
||
executables = ["gpr_mode_wisi_parse"] | ||
|
||
[[actions]] | ||
type = "pre-build" | ||
command = ["make", "-f", "Alire.make", "gpr_re2c.c"] | ||
|
||
[[depends-on]] | ||
stephes_ada_library = "~3.7.3" | ||
wisitoken = "~4.1.0" | ||
emacs_wisi = "~4.3.0" | ||
|
||
# MSYS has 2.2; Debian, MacOS have 3.0 (oct 2022) | ||
re2c = ">=2.2" | ||
|
||
# We use Ada 2022 syntax, so need the -gnat2022 switch; introduced in gnat FSF 11, Community 2021. | ||
gnat = "(>=11 & <2000) | >=2021" | ||
|
||
|
||
[origin] | ||
commit = "6bc569c4e6e020017ef45807322a551b5455b097" | ||
url = "git+https://git.savannah.nongnu.org/git/ada-mode.git" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name = "emacs_gpr_query" | ||
description = "Emacs xref backend using information output by GNAT compiler." | ||
tags = ["emacs", "xref"] | ||
version = "1.0.2" | ||
licenses = "GPL-3.0-or-later" | ||
|
||
authors = ["Stephen Leake"] | ||
maintainers = ["Stephen Leake <[email protected]>"] | ||
maintainers-logins = ["stephe-ada-guru"] | ||
|
||
website = "https://elpa.gnu.org/packages/gpr-query.html" | ||
|
||
project-files = ["emacs_gpr_query.gpr"] | ||
|
||
executables = ["gpr_query"] | ||
|
||
[[depends-on]] | ||
gnatcoll = "^22.0.0" | ||
gnatcoll_sqlite = "^22.0.0" | ||
gnatcoll_xref = "^22.0.0" | ||
|
||
# We use Ada 2022 syntax, so need the -gnat2022 switch; introduced in gnat FSF 11, Community 2021. | ||
gnat = "(>=11 & <2000) | >=2021" | ||
|
||
[origin] | ||
commit = "9619300ce22062e2677b0536e7b69dca182f316e" | ||
url = "git+https://git.savannah.gnu.org/git/emacs/elpa.git" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name = "emacs_wisi" | ||
description = "Ada code for Emacs wisi ELPA package" | ||
tags = ["emacs", "indent", "project", "compile", "xref"] | ||
version = "4.3.0" | ||
licenses = "GPL-3.0-or-later" | ||
|
||
authors = ["Stephen Leake"] | ||
maintainers = ["Stephen Leake <[email protected]>"] | ||
maintainers-logins = ["stephe-ada-guru"] | ||
|
||
website = "https://elpa.gnu.org/packages/wisi.html" | ||
|
||
project-files = ["wisi_alire.gpr"] | ||
|
||
[[depends-on]] | ||
stephes_ada_library = "~3.7.2" | ||
wisitoken = "~4.2.0" | ||
|
||
# We use Ada 2022 syntax, so need the -gnat2022 switch; introduced in gnat FSF 11, Community 2021. | ||
gnat = "(>=11 & <2000) | >=2021" | ||
|
||
|
||
[origin] | ||
commit = "5422a04736f6bb6bbd089ddb7348a870c0d545dd" | ||
url = "git+https://git.savannah.nongnu.org/git/ada-mode.git" | ||
|
23 changes: 23 additions & 0 deletions
23
index/st/stephes_ada_library/stephes_ada_library-3.7.3.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name = "stephes_ada_library" | ||
description = "Stephe's Ada library; miscellaneous useful stuff." | ||
tags = ["containers", "trees"] | ||
version = "3.7.3" | ||
licenses = "GPL-3.0-or-later" | ||
|
||
authors = ["Stephen Leake"] | ||
maintainers = ["Stephen Leake <[email protected]>"] | ||
maintainers-logins = ["stephe-ada-guru"] | ||
|
||
website = "https://stephe-leake.org/ada/sal.html" | ||
|
||
project-files = ["build/stephes_ada_library.gpr"] | ||
|
||
[[depends-on]] | ||
# We use Ada 2022 syntax, so need the -gnat2020 or -gnat2022 switch; | ||
# introduced in gnat FSF 11 has -gnat2020, gnat FSF 12 has both. | ||
gnat = "(>=11 & <2000) | >=2021" | ||
|
||
[origin] | ||
commit = "08b4830747b4a4c049d36da2b39a6dce29f37407" | ||
url = "git+https://git.savannah.nongnu.org/git/ada-mode.git" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name = "wisitoken" | ||
description = "Generalized error correcting LALR and packrat parser generator" | ||
tags = ["parser", "generator", "generalized"] | ||
version = "4.2.0" | ||
licenses = "GPL-3.0-or-later" | ||
|
||
authors = ["Stephen Leake"] | ||
maintainers = ["Stephen Leake <[email protected]>"] | ||
maintainers-logins = ["stephe-ada-guru"] | ||
|
||
website = "https://stephe-leake.org/ada/wisitoken.html" | ||
|
||
project-files = ["build/wisitoken_alire.gpr", "build/wisitoken_alire_mains.gpr"] | ||
|
||
# We use ".exe" extension even on non-Windows, to simplify the makefiles. | ||
executables = ["wisitoken-bnf-generate.exe"] | ||
|
||
[[actions.'case(os)'.windows]] | ||
type = "post-fetch" | ||
command = ["dos2unix", "memory/s-memory.adb"] | ||
|
||
[[depends-on]] | ||
# While wisitoken-bnf-generate can output a Tree-Sitter grammar file, | ||
# it does not use any tree-sitter code, so we have no dependency on | ||
# tree-sitter. | ||
# | ||
# The development code includes tests that run the tree-sitter parser, | ||
# so to run those in an Alire build, we will need a tree-sitter crate. | ||
gnatcoll = "^22.0.0" | ||
stephes_ada_library = "~3.7.2" | ||
|
||
# We use Ada 2022 syntax, so need the -gnat2022 switch; introduced in gnat FSF 11, Community 2021. | ||
gnat = "(>=11 & <2000) | >=2021" | ||
|
||
|
||
[origin] | ||
commit = "463d2cbfeac33bc04b714d1b07e8a0dec2ee688e" | ||
url = "git+https://git.savannah.nongnu.org/git/ada-mode.git" | ||
|