Skip to content

Commit

Permalink
bugfix: GLIF semantic construction should translate each input and no…
Browse files Browse the repository at this point in the history
…t discard duplicates
  • Loading branch information
jfschaefer committed Dec 7, 2023
1 parent ab16791 commit 3ef072c
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ class GlfConstructServer extends ServerExtension("glf-construct") {
.map(t => if (query.simplify) controller.simplifier(t,
SimplificationUnit(theory.getInnerContext, expandVarDefs = query.deltaExpansion, expandConDefs = query.deltaExpansion, fullRecursion = true)) else t)
.map(t => removeFakeLambdas(t, Set()))
.distinct

val elpiresult = JSONArray(trees.map(t => JSONString(ELPIExporter.translateTerm(t).toELPI())): _*)
val mmtresult = JSONArray(trees.map(t => JSONString(controller.presenter.asString(t))): _*)
Expand Down

0 comments on commit 3ef072c

Please sign in to comment.