Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I get an error even with 'run':


Backtrace:

In system/base/compile.scm:

   224:14 19 (read-and-compile _ #:from _ #:to _ #:env _ #:opts _)

    255:6 18 (compile _ #:from _ #:to _ #:env _ #:opts _)

   183:32 17 (compile-fold (#<procedure compile-cps (exp env opt?> ?) ?)

In language/tree-il/compile-cps.scm:

   2345:4 16 Exception thrown while printing backtrace:

Throw to key `match-error' with args `("match" "no matching pattern" #<unspecified>)'.

language/tree-il.scm:111:0: In procedure struct-ref/immediate: Wrong type argument in position 1 (expecting struct): #<unspecified>

What exactly is your setup here?

language/tree-il.scm:111:0 is as far as I can see unconditially invoked at some point in language/tree-il.scm (definitely on load in interpreted mode, but IIUC the compiler should be able to evaluate it at compile time, so if you load it compiled, it should already be done). The stuff above it would indicate a compile error, and you at least appear to be using Guile 3.0.2 from the line numbers, but from personal experience  both Tsukundere and dystopia ought to compile with that version.

Even if I were to inject syntax errors into dystopia.el, I can't bring it to match your backtrace, which might hint that the source of the error lies in some auto-compil(ed|ing) Tsukundere. Do you get a filename anywhere during that backtrace or before it?

I seem to have it working now. I think the problem was I was (unknowingly) using an older version of Tsukundere.