BooleanExpressionEvaluator 使用递归下降解析器和解释器模式的布尔表达式评估器项目。您可以使用以下命令克隆存储库:

```bash

git clone https://github.com/unnikked/BooleanExpressionEvaluator.git

```

编译:

```bash

javac src/tk/unnikked/booleanevaluator/.java src/tk/unnikked/booleanevaluator//.java src/tk/unnikked/booleanevaluator/ast//*.java

```

执行:

```bash

java tk/unnikked/booleanevaluator/BooleanEvaluator

```

还可以使用 -f 指令在文件中使用管道:

```bash

cat yourfile | java tk/unnikked/booleanevaluator/BooleanEvaluator -f

```