This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,10 @@
%token <char> TOKEN
%token EOF
%start <char list> main
%%
main:
| c = TOKEN EOF { [c] }
| c = TOKEN xs = main { c :: xs }

View file

@ -0,0 +1,13 @@
$ cat > dune-project <<EOF
> (lang dune 2.2)
> (using menhir 2.1)
> EOF
$ cat >dune <<EOF
> (env (_ (menhir_flags :standard "--comment")))
> (menhir
> (modules parser)
> (mode promote))
> (library (name test))
> EOF
$ dune printenv --field menhir_flags 2>&1 | sed "s/(using menhir .*)/(using menhir <version>)/"
(menhir_flags (--comment))