Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

thegreatcatadorer

3
Posts
A member registered 87 days ago

Recent community posts

I had to define filter, count, and delete. A variety of other issues I've since found: 

  • There is no inexact->exact, which means it has to be approximated with FFI when an exact integer is needed (i.e. in list-ref).
  • Division of a float by an integer inexplicably winds up as positive infinity?
  • I'm not sure that this is Hoot-specific, but having type predicates in define-typed-record would be nice, especially given that interactive debugging doesn't yet work.

There actually was a syntax error, but one that Guile and my syntax highlighter failed to report: I was missing a double quote. (A variety of other errors, the result of Hoot not having full list and string support just yet, could not have helped.)

I've been getting the below error when attempting to compile, despite having correct syntax (as checked by normal Guile) and not using the procedure fill-rect anywhere:

guild compile-wasm -L modules -o game.wasm game.scm
Backtrace:
In ice-9/read.scm:
   231:26 19 (lp #\2)
   231:26 18 (lp #\")
   231:26 17 (lp #\c)
   231:26 16 (lp #\")
   231:26 15 (lp #\a)
   231:26 14 (lp #\")
   231:26 13 (lp #\a)
   231:26 12 (lp #\")
   231:26 11 (lp #\a)
   231:26 10 (lp #\")
   231:26  9 (lp #\a)
   231:26  8 (lp #\")
   231:26  7 (lp #\a)
   231:26  6 (lp #\")
   231:26  5 (lp #\a)
   231:26  4 (lp #\")
   231:26  3 (lp #\a)
   231:26  2 (lp #\")
   734:20  1 (lp #\#)
In unknown file:
           0 (list->typed-array #{c1c"\x29;\xa;;     }# 140 (# # # …))
ERROR: In procedure list->typed-array:
In procedure length: Wrong type argument in position 1: fill-rect
make: *** [Makefile:14: game.wasm] Error 1

Guile is version 3.0.9-0.3b76a30 and was updated yesterday through guix pull on a Debian 6.1.90-1 system.