Debian Codegraph @

doc/tools/rocqrst/notations/Makefile

raw symbols SCIP
1 ##########################################################################
2 ## # The Rocq Prover / The Rocq Development Team ##
3 ## v # Copyright INRIA, CNRS and contributors ##
4 ## <O___,, # (see version control and CREDITS file for authors & dates) ##
5 ## \VV/ ###############################################################
6 ## // # This file is distributed under the terms of the ##
7 ## # GNU Lesser General Public License Version 2.1 ##
8 ## # (see LICENSE file for the text of the license) ##
9 ##########################################################################
10 # Parsing compact tactic notation syntax in
11
12 TEST_INPUT="unfold {+, @qualid|@string at {+, num}}"
13
14 python:
15 antlr4 -Dlanguage=Python3 -visitor -no-listener TacticNotations.g
16
17 java:
18 antlr4 -Dlanguage=Java TacticNotations.g && javac TacticNotations*.java
19
20 test: java
21 grun TacticNotations top -tree <<< "$(TEST_INPUT)"
22
23 gui: java
24 grun TacticNotations top -gui <<< "$(TEST_INPUT)"
25
26 sample:
27 cd ..; python3 -m rocqnotations.driver < ../tests/tactics > ../tests/antlr-notations.html