-
Notifications
You must be signed in to change notification settings - Fork 145
How to load trial in clasp
Karsten Poeck edited this page Apr 26, 2019
·
5 revisions
- get newest clasp and build
- fork https://github.com/kpoeck/trial.git into ~/quicklisp/local-projects/
- fork https://github.com/kpoeck/3d-vectors.git in ~/quicklisp/local-projects/
- fork https://github.com/Shirakumo/glsl-toolkit.git in ~/quicklisp/local-projects/
- in glsl-toolkit do the following change in grammar.lisp(I fixed that locally in clasp, pr pending)
(define-operator-objects
== != = += -= *= /= %= <<= >>= &= ^= \|=
++ -- << >> ^^ \|\| && <= >= < >
+ - * / % & ^ ! \|
\( \) \[ \] \{ \} \;
#-clasp \. #+clasp |.|
? \: \,)
- compile cl-jpeg without the ast interpreter (see https://github.com/clasp-developers/clasp/issues/727)
build/clasp
(load "~/quicklisp/setup.lisp")
(setq clasp-cleavir::*use-ast-interpreter* nil)
;;; be very patient, needs 1 hour on my machine
(ql:quickload :cl-jpeg)
- load trial
build/clasp
;;; be very patient
(ql:quickload :trial)
- try it out
;;; I had to delete :trial from the dependencies in the following :asd, don't know yet whether this is a clasp error
(ql:quickload :trial-glfw :verbose t)
(trial:launch 'trial::workbench)