Re: (cf "somefile.scm") error

2023-10-18 Thread Chris Hanson
emoize node)) S3 (generate/node/ (edge-next-node) (vector-ref node 6))) (scfg*scfg->scfg! (generator node) (generate/node (edge-next-node (vector-ref node 6 S4 to S9 are pairs the same as S2 and S3 On 17 Oct 2023, at 10:49 PM, Chris Hanson wrote: Sorry f

Re: (cf "somefile.scm") error

2023-10-17 Thread Chris Hanson
Sorry for the long delay in responding. I'd be interested in seeing what the debugger shows for that error. Can you run it and show the first few frames to give me an idea where the problem is? On 10/13/23 04:30, David Gray wrote: How to track down the following error? In the latest scheme

Re: "Unexpected restart" error

2022-08-06 Thread Chris Hanson
On Monday, July 18, 2022 2:27:01 PM PDT Chinmaya Nagpal wrote: > (begin ;; -*- something: something -*- > (+ 2 2)) This is normal and expected behavior. When there is a comment in the first line of a “file”, in that format, it specifies some attributes that potentially change how reading is

Re: Disable REPL debugger

2021-10-04 Thread Chris Hanson
I think Common Lisp has standard-error-hook; I would have copied that over in the original design. The rest is just an abort with a suitable message. In any case, it seems weird to me that you don't want the debugger. Once that condition has aborted it's no longer accessible. On Oct 4, 2021,

Re: Disable REPL debugger

2021-10-04 Thread Chris Hanson
Bind the parameter param:standard-error-hook like this: (param:standard-error-hook  (lambda (condition)    (abort->nearest (condition/report-string condition On 10/4/21 5:08 AM, Tim Lee wrote: Is there a setting for disabling the REPL's debugger? I only want to see the error message,

Re: Breakpoints, stepping forwards?

2020-03-27 Thread Chris Hanson
I’m not sure exactly what you’re asking about. The debugger can’t examine what will happen in the future, because that hasn’t happened yet. If you want to move forward, you have several options: 1. Resume the program using one of the restarts that are shown when you stop. 2. Evaluate

Re: MIT-Scheme (SVM1 version) on NetBSD/arm64

2020-01-03 Thread Chris Hanson
SVM is very slow; I’ve done informal measurements and found that it’s about 20x slower than native code. On Jan 3, 2020, 4:50 PM -0500, Alexander Shendi (Web.DE) , wrote: > Dear MIT-Scheme users, > > I have managed to build a version of MIT-Scheme (V 10.1.10, SVM1) under > NetBSD/aarch64 (aka

Re: Why is package user not an environment in MIT Scheme 10.1?

2019-11-17 Thread Chris Hanson
The change is mainly because package objects are being phased out, and will eventually be replaced by R7RS libraries. You can of course use (->environment '(user)) instead. On 2019-11-16 21:53, Lone Learner wrote: Here is my MIT Scheme code: (display (name->package '(user))) (newline)

Re: [MIT-Scheme-users] Trouble drawing immediately after making a graphics device on the X window system

2018-09-19 Thread Chris Hanson
There's no expose handling because we always tell the server to use backing store. The server is supposed to take care of all that for us. Apparently there's a bug in the X server. On Wed, Sep 19, 2018 at 4:36 PM Matt Birkholz wrote: > On Sat, 2018-09-08 at 13:18 -0600, Ty Lewis wrote: > > Is

[MIT-Scheme-users] Help with Windows?

2018-06-02 Thread Chris Hanson
I'm in the process of putting together a new release of MIT/GNU Scheme. Unfortunately, while most of out contributors have moved to 64-bit hardware, the Windows port is still 32-bit. And it hasn't worked very well in a long time, mostly because of memory addressing issues in the 32-bit space. I

Re: [MIT-Scheme-users] ref error

2017-11-01 Thread Chris Hanson
What's ref? Do you mean vector-ref? On Nov 1, 2017 6:48 AM, "David Gray" wrote: > I’m using ScmUtils 2016 compiled to a band using version 9.2 on OSX, and > I’m running into a strange error. > The simplest case I can boil it down to is: > Using *scheme* I can do > (define

Re: [MIT-Scheme-users] Something like "macroexpand" for MIT Scheme?

2015-12-05 Thread Chris Hanson
It's been a while since I thought about this, but I used to use (pp (syntax-quote ...)) to see the expansion of a macro. I think it still works. On Fri, Dec 4, 2015 at 7:50 PM, fedekun wrote: > I apologize if this has been asked before but I can't find anything about > it

[MIT-Scheme-users] New snapshot 20070909

2007-10-01 Thread Chris Hanson
A new snapshot is up. This one is able to run on all recent Macs, including 32-bit PowerPC. ___ MIT-Scheme-users mailing list MIT-Scheme-users@gnu.org http://lists.gnu.org/mailman/listinfo/mit-scheme-users

[MIT-Scheme-users] Re: *parser and UTF-8

2006-06-29 Thread Chris Hanson
Kaloian Doganov wrote: (call-with-input-file sample-data.txt (lambda (port) (display ((*parser (seq (match (* (alphabet full-alphabet) (input-port-parser-buffer port) --8-- should display: #(Когато бях овчарче и овците пасях

[MIT-Scheme-users] associating environments with Scheme file buffers in Edwin

2005-09-14 Thread Chris Hanson
Date: Wed, 14 Sep 2005 05:36:05 + (UTC) From: Taylor Campbell [EMAIL PROTECTED] Can you elaborate on the ideas you have? There are a few principles I have in mind. These seem to be almost orthogonal to what you have been concerned about, though I'll have to read your document more