While the compiler does manage most circular dependancies, some cases still
cannot be compiled.
For instance, with the attached circ-{a,b,c}.scm the compilation of b fails
with:
% GUILE_LOAD_PATH=. guile-tools compile -Warity-mismatch -Wformat
-Wunused-variable -Wduplicate-case-datum -Wbad-case-
> Won???t fix? :-)
Fine with me.
I couldn't name a single compiler that can handle circular dependancies.
A minimal big or expression that triggers another error from compiler:
;;; ERROR: Value out of range: 0
#!/usr/bin/env guile
; vim:expandtab
!#
(lambda (proto
server-port
client-zone
server-zone
signature-id)
(let* ((cs-0 (eqv? server-zone 22))
(cs
-[ Fri, Dec 07, 2012 at 12:29:18PM +0100, Stefan Israelsson Tampe ]
> I can compile bug4.scm, It's possible that this is because of a recent
> bugfix
> In cse.scm, Can you try it with 2.0.7 ?
I will, but not until monday.
Sorry I missed this bugfix.
-[ Fri, Dec 07, 2012 at 12:29:18PM +0100, Stefan Israelsson Tampe ]
> I can compile bug4.scm, It's possible that this is because of a recent
> bugfix
> In cse.scm, Can you try it with 2.0.7 ?
Ok, I just tried with 2.0.7 and it works.
Please close this erroneous bug.
The other two are still va
-[ Sat, Dec 08, 2012 at 10:44:15PM +0100, Stefan Israelsson Tampe ]
> The whole macro-expansion to tree-il in psyntax is not done in a tail call
> manner which limits the sizes
> of code tree's that we can compile. Although it would be interesting to
> know how to code the
> psyntax expand algo
-[ Tue, Dec 11, 2012 at 11:29:31PM +0100, Stefan Israelsson Tampe ]
> Anyway in vm.c I changed the
> #define VM_DEFAULT_STACK_SIZE (64 * 1024)
>
> to
> #define VM_DEFAULT_STACK_SIZE (64 * 1024 * 64)
>
> and recompiled!
Oh, I hadn't realized you were speaking about the VM's stack. It all make
> I added a patch to suggest a new environment variable.
I applied your patch locally and am satisfied so far.
I let you know is I run into troubles.
The ~t formater is not working according to spec in the REPL.
Try this for instance:
(format #t "~10tA~20tB~30tC~40tD")
will print:
AB C D
Although it works from a script or when outputing to a sting.
Also, it works after a newline.
Here is a minimal example reproducing the problem.
Note that it only fails the first time (when scheme.scm is compiled).
Note: I put bug-guile on CC, hoping it will not trash the attachments,
because with this example I'm starting to believe there is something
wrong going on.
CFLAGS += $(shell gu
Not really a bug per se (although the manual states that "When Guile
hangs or takes forever to complete a task, it is a bug."), but the time
complexity behind the compilation of (or ...) patterns in (ice-9 match)
module is so high that anything more than 8 sub-patterns takes forever
for me. Here i
11 matches
Mail list logo