summaryrefslogtreecommitdiff
path: root/Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh
diff options
context:
space:
mode:
authorYuren Hao <yurenh2@timan108.cs.illinois.edu>2025-09-04 22:16:22 -0500
committerYuren Hao <yurenh2@timan108.cs.illinois.edu>2025-09-04 22:16:22 -0500
commitfc6d57ffb8d5ddb5820fcc00b5491a585c259ebc (patch)
treee9841f93a353e2107225cfc721d1ce57c0e594dc /Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh
Initial commit
Diffstat (limited to 'Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh')
-rwxr-xr-xQwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh b/Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh
new file mode 100755
index 0000000..566d911
--- /dev/null
+++ b/Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Get relative path of the root directory of the project
+rdir=`git rev-parse --git-dir`
+rel_path="$(dirname "$rdir")"
+# Change to that path and run the file
+cd $rel_path
+
+java -jar antlr-4.11.1-complete.jar PS.g4 -o gen