From 8ea8bd7e41c48be9635c29fb928fe9decc4eb112 Mon Sep 17 00:00:00 2001 From: kartofen Date: Thu, 10 Jul 2025 00:28:22 +0300 Subject: shift-reduce did not work, not works (not very good) with no nonassoc --- build.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index c909bce..b4c62c8 100755 --- a/build.sh +++ b/build.sh @@ -48,8 +48,8 @@ function leak # cc clr-table -D_CLR_TABLE_STANDALONE # leak clr-table -# cc clr-table "-D_CLR_TABLE_STANDALONE -D_LAZY_LALR" lalr-table -# leak lalr-table +cc clr-table "-D_CLR_TABLE_STANDALONE -D_LAZY_LALR" lalr-table +leak lalr-table # cc lr-parser -D_LR_PARSER_STANDALONE # leak lr-parser @@ -59,11 +59,11 @@ function leak #--------------------------------------------------------------------------------------------------# -cc demos/generate-parser "-rdynamic" +# cc demos/generate-parser "-rdynamic" # shared slr-table # shared clr-table -shared clr-table -D_LAZY_LALR lalr-table +# shared clr-table -D_LAZY_LALR lalr-table # shared demos/sample-files/lalr-defs # --- Arithemitc example --- @@ -73,7 +73,7 @@ shared clr-table -D_LAZY_LALR lalr-table # leak parser "0-1+(1+0)-1+0" # --- Calc example --- -shared demos/sample-files/calc-defs -leak "generate-parser -t lalr-table bin/calc-defs.so" -cc demos/sample-files/calc-skeleton "" parser -leak parser "4237-100+(17498+70)-1321+82910" +# shared demos/sample-files/calc-defs +# leak "generate-parser -t lalr-table bin/calc-defs.so" +# cc demos/sample-files/calc-skeleton "" parser +# leak parser "4237-100+(17498+70)-1321+82910" -- cgit v1.2.3