Comment by ~kiyotakatheblack on ~evhan/dust
It works. Thank you.
Comment by ~kiyotakatheblack on ~evhan/dust
It works well.
Thank you for your help.
REPORTED
RESOLVED FIXEDComment by ~kiyotakatheblack on ~evhan/dust
Sorry.I failed quote in above.
Declarations are always ignored in csi (the interpreter) or in evaluated code.
Probably Chicken's declare system or module-declarations egg has a bug.
Comment by ~kiyotakatheblack on ~evhan/dust
And
#In dust master,chicken-begin-syntax dir. cat ./patch~ --- begin-syntax.scm.orig 2020-05-08 12:09:17.648345752 +0900 +++ begin-syntax.scm.new 2020-05-08 12:08:44.131679176 +0900 @@ -6,11 +6,11 @@ ;;; See LICENSE for details. ;;; -(declare - (module begin-syntax) - (export begin-syntax) +(module begin-syntax + (begin-syntax) + (import scheme) (import-for-syntax (chicken memory representation) - (matchable))) + (matchable)) ;; ;; Evaluates its body and immediately inserts the final result into the @@ -44,3 +44,4 @@ (##sys#extend-macro-environment name '() x) (loop (expand `(,name)))))) (else x))))))))) +);module cat ./test-begin-syntax.scm~ (import begin-syntax) (print (begin-syntax '(+ 1 2))) chicken-uninstall begin-syntax chicken-install -purge begin-syntax && chicken-install -purge git checkout . && git clean -f chicken-install csc test-begin-syntex.scm~ Error: during expansion of (begin-syntax ...) - unbound variable: _ Call history: <syntax> (##core#begin (print (begin-syntax (quote (+ 1 2))))) <syntax> (print (begin-syntax (quote (+ 1 2)))) <syntax> (begin-syntax (quote (+ 1 2))) begin-syntax.import.scm:25: _ <-- chicken-uninstall begin-syntax chicken-install -purge begin-syntax && chicken-install -purge git checkout . && git clean -f patch -u begin-syntax.scm < patch~ chicken-install csc test-begin-syntex.scm~ ./test-begin-syntex 3
And as you know that Declaration's specification changed from chicken Ver4 to Ver5.
Declarations are always ignored in csi (the interpreter) or in evaluated code. Probably Chicken's declare system or module-declarations egg has a bug.
Comment by ~kiyotakatheblack on ~evhan/dust
OK.I understand.
Comment by ~kiyotakatheblack on ~evhan/dust
Thanx.
Would it be better if I change issue status now?or when it is implemented?
Comment by ~kiyotakatheblack on ~evhan/dust
I understand. Thanx.
Comment by ~kiyotakatheblack on ~evhan/dust
I try 5.0.0 5.1.0 5.2.0 4.13.0.result is a below.
dust install 5.0.0 5.1.0 5.2.0 4.13.0 dust switch 5.2.0 chicken-install -n dust Error: during expansion of (begin-syntax ...) - unbound variable: _ rlwrap csi (import begin-syntax) (begin-syntax '(+ 1 2)) Error: during expansion of (begin-syntax ...) - unbound variable: _ dust switch 5.1.0 chicken-install -n dust Error: during expansion of (begin-syntax ...) - unbound variable: _ rlwrap csi (import begin-syntax) (begin-syntax '(+ 1 2)) Error: during expansion of (begin-syntax ...) - unbound variable: _ dust switch 5.0.0 chicken-install -n dust Error: unknown egg information item: (cond-expand (windows (csc-options -L -lws2_32)) (else)) chicken-install begin-syntax rlwrap csi (import begin-syntax) (begin-syntax '(+ 1 2)) Error: during expansion of (begin-syntax ...) - unbound variable: _ dust switch 4.13.0 chicken-install begin-syntax rlwrap csi -n (import begin-syntax) (begin-syntax '(+ 1 2)) 3
And also I try.
git clone https://git.foldling.org/chicken-begin-syntax.git cd chicken-begin-syntax dust switch master rlwrap csi ,l begin-syntax.scm ; loading begin-syntax.scm ... Note: declarations are ignored in interpreted code: (##core#declare (module begin-syntax) (export begin-syntax) (import-for-syntax (chicken memory representation) (matchable))) Note: the following toplevel variables are referenced but unbound: match _ exp0 ... expn record-instance? expn exp0 (import begin-syntax) Note: re-importing already imported syntax: begin-syntax ,q #cp begin-syntax.scm begin-syntax.scm.new;vi begin-syntax.scm.new diff begin-syntax.scm begin-syntax.scm.new 9,11c9,11 < (declare < (module begin-syntax) < (export begin-syntax) --- > (module begin-syntax > (begin-syntax) > (import scheme) 13,14c13,14 < (matchable))) < --- > (matchable)) > 46a47 > );module rlwrap csi ,l begin-syntax.scm.new (import begin-syntax) #Do not appear re-importing Note. (begin-syntax '(+ 1 2)) 3
But I can not be determined declare and module specification.
Ticket created by ~kiyotakatheblack on ~evhan/dust
Unfortunately Chicken's filename csi and csc is conflicted with Mono's filename.
Some linux packager rename to chicken-csc and chicken-csi.
Could you please add a renamed-binary or add temporary dust off feature?
Ticket created by ~kiyotakatheblack on ~evhan/dust
I think if add support to user compiled chicken,Dust become more convenient. Below process looks like no problem.
git clone git://code.call-cc.org/chicken-core make PLATFORM=linux PREFIX=$HOME/chicken/user/[USER]/version/master-llvm \ C_COMPILER=clang make PLATFORM=linux PREFIX=$HOME/chicken/user/[USER]/version/master-llvm \ C_COMPILER=clang install dust switch master-llvm csi -R chicken.platform -p "(repository-path)"