diff --git a/LL1/src/Main.kt b/LL1/src/Main.kt index c86a00e..b5006a5 100644 --- a/LL1/src/Main.kt +++ b/LL1/src/Main.kt @@ -9,13 +9,13 @@ fun main() { println("${it.key}: ${analyzeTable.items[it.value]}") } - println("分析过程:") + println("分析过程:98+99+80") analyzeTable.analyze("98+99+80"){ it.replace("\\d+".toRegex(),"i") }.forEach { println(it) } - + println("分析过程:(106-80(*95)") analyzeTable.analyze("(106-80(*95)"){ it.replace("\\d+".toRegex(),"i") }.forEach {