name = "emacs_gpr_mode"
description = "parser for Emacs gpr mode"
tags = ["indent", "highlight", "parser", "gpr", "emacs"]
version = "1.0.3"
licenses = "GPL-3.0-or-later"

authors = ["Stephen Leake"]
maintainers = ["Stephen Leake <stephen_leake@stephe-leake.org>"]
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.2"
wisitoken = "~4.1.0"
emacs_wisi = "~4.2.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 = "83fac2ad38af01cf81bde48726c848d84c510db2"
url = "git+https://git.savannah.nongnu.org/git/ada-mode.git"

