org.spoofax.terms.util.NotImplementedException: Unsupported term build: List([Con("Wrapped",[VarRef("v1")])])

GitHub | milosonator | 5 months ago
  1. 0

    Interpreter crashes with NotImplementedException on rule with nested list

    GitHub | 5 months ago | milosonator
    org.spoofax.terms.util.NotImplementedException: Unsupported term build: List([Con("Wrapped",[VarRef("v1")])])
  2. 0

    Source references are not accessible

    GitHub | 4 weeks ago | eelcovisser
    org.spoofax.terms.util.NotImplementedException: Unsupported term build: DeAssoc(VarRef("H"),VarRef("addr"))

    Root Cause Analysis

    1. org.spoofax.terms.util.NotImplementedException

      Unsupported term build: List([Con("Wrapped",[VarRef("v1")])])

      at org.metaborg.meta.lang.dynsem.interpreter.nodes.building.TermBuild.create()
    2. org.metaborg.meta
      RuleRegistry.populate
      1. org.metaborg.meta.lang.dynsem.interpreter.nodes.building.TermBuild.create(TermBuild.java:125)
      2. org.metaborg.meta.lang.dynsem.interpreter.nodes.building.ListBuild.create(ListBuild.java:43)
      3. org.metaborg.meta.lang.dynsem.interpreter.nodes.building.TermBuild.create(TermBuild.java:111)
      4. org.metaborg.meta.lang.dynsem.interpreter.nodes.rules.RuleTarget.create(RuleTarget.java:45)
      5. org.metaborg.meta.lang.dynsem.interpreter.nodes.rules.Rule.create(Rule.java:98)
      6. org.metaborg.meta.lang.dynsem.interpreter.nodes.rules.Rule.create(Rule.java:64)
      7. org.metaborg.meta.lang.dynsem.interpreter.nodes.rules.RuleRegistry.populate(RuleRegistry.java:89)
      7 frames
    3. org.metaborg.grace
      graceLanguage.parse
      1. org.metaborg.grace.interpreter.generated.graceLanguage.parse(graceLanguage.java:31)
      1 frame
    4. com.oracle.truffle
      PolyglotEngine.eval
      1. com.oracle.truffle.api.TruffleLanguage$AccessAPI.eval(TruffleLanguage.java:511)
      2. com.oracle.truffle.api.impl.Accessor.eval(Accessor.java:158)
      3. com.oracle.truffle.api.vm.PolyglotEngine$SPIAccessor.eval(PolyglotEngine.java:954)
      4. com.oracle.truffle.api.vm.PolyglotEngine.evalImpl(PolyglotEngine.java:457)
      5. com.oracle.truffle.api.vm.PolyglotEngine.access$200(PolyglotEngine.java:103)
      6. com.oracle.truffle.api.vm.PolyglotEngine$2.compute(PolyglotEngine.java:441)
      7. com.oracle.truffle.api.vm.ComputeInExecutor.run(ComputeInExecutor.java:93)
      8. com.oracle.truffle.api.vm.ComputeInExecutor.perform(ComputeInExecutor.java:83)
      9. com.oracle.truffle.api.vm.PolyglotEngine.eval(PolyglotEngine.java:444)
      10. com.oracle.truffle.api.vm.PolyglotEngine.eval(PolyglotEngine.java:398)
      10 frames
    5. org.metaborg.meta
      DynSemEntryPoint.getCallable
      1. org.metaborg.meta.lang.dynsem.interpreter.DynSemEntryPoint.getCallable(DynSemEntryPoint.java:53)
      2. org.metaborg.meta.lang.dynsem.interpreter.DynSemEntryPoint.getCallable(DynSemEntryPoint.java:41)
      2 frames
    6. org.metaborg.grace
      graceEntryPoint.main
      1. org.metaborg.grace.interpreter.generated.graceEntryPoint.evaluate(graceEntryPoint.java:47)
      2. org.metaborg.grace.interpreter.generated.graceEntryPoint.main(graceEntryPoint.java:41)
      2 frames