mit-scheme Questions

5

Error: "Requested allocation is too large. Try with smaller argument to --heap" I downloaded the windows binary from http://www.gnu.org/software/mit-scheme/. How do I fix this?
Goetz asked 10/4, 2014 at 13:24

4

Solved

I want to evaluate a script from makefile and exit, like this mit-scheme --load "fact.scm" However, after it evaluates the file, it does not exit, and the repl appears; if I try the (exit) primi...
Peper asked 13/7, 2014 at 6:23

2

Solved

Suppose I try to use an undefined variable in MIT Scheme's REPL: 1 ]=> blablabla ;Unbound variable: blablabla ;To continue, call RESTART with an option number: ; (RESTART 3) => Specify a val...
Methane asked 29/11, 2020 at 15:32

2

Solved

I'm reading SICP and I'm using mit-scheme installed on my os x 10.8 laptop via homebrew. Everything works as advertised, however I'm spoiled by the ease with which I get tab completion and command ...
Timely asked 10/8, 2012 at 20:22

10

I want to install MIT Scheme on my Mac, I have downloaded the MacOS X binary(x86-64). However, I could not make it work using Mac Terminal. I have tried to follow these articles: Installing MIT/...
Escamilla asked 7/9, 2012 at 17:1

1

Solved

I read in the documentation and rosetta code that (read) is used to get input from the console. So I wrote this code to check this: (display (+ (read) 1)) But mit-scheme never asks for user inpu...
Maddeu asked 7/9, 2019 at 20:52

3

Solved

I have created a abc.scm file and tried to compile it to a binary (or whatever guile scheme compiles to) using "guild compile", "scm" and "guile" commands in terminal in Ubuntu. For "guild compile...
Doerrer asked 12/6, 2016 at 10:11

2

Solved

I'm trying to get Scheme going so I can work through "Structure and Interpretation of Computer Programs" but I keep running into the above-mentioned issue. I know sort of how to solve the problem b...
Streptokinase asked 22/4, 2018 at 18:21

2

Solved

I am trying to understand how the Scheme meta-circular evaluator handles quoted expressions differently than symbolic data. The accepted answer Stack Overflow question What exactly is a symbol in ...
Palaeography asked 23/1, 2018 at 1:54

4

I want to type something like 'scheme file.scm' and have it interpret the file, and then take me back to my shell, rather than loading it in the REPL. edit: I tried scheme < test.scm and it sti...
Furbelow asked 24/5, 2009 at 15:13

2

I'm trying to learn lambda calculus and Scheme Lisp. The tutorial on lambda calculus can be found here http://www.inf.fu-berlin.de/lehre/WS03/alpi/lambda.pdf. The problem I'm facing is I don't kno...
Pinnule asked 29/8, 2017 at 5:28

4

Solved

I wish to plot graphically a function using MIT scheme. In the manual of scheme, there is a section called "Graphics" -- quote: MIT Scheme has a simple two-dimensional line-graphics interface tha...
Karlie asked 1/11, 2012 at 1:46

1

Solved

I have installed MIT Scheme from the instructions here on my laptop running Yosemite. I can get the scheme interpreter from Terminal, but none of my arrow keys seem to working. For any typing mista...
Favrot asked 2/8, 2015 at 5:24

4

Solved

Can anyone tell me what is the null value representation in mit-scheme? In the SICP book, it should be "nil" but it doesn't work. Thanks.
Mcgraw asked 2/2, 2012 at 16:11

3

Solved

I'm trying to go through "The Little Lisper" and already running into snags in the first chapter. I'm relatively new to Emacs (which has fueled my interest in learning Lisp and clojure). I download...
Seeto asked 5/6, 2013 at 6:3

1

My operating system is Debian Squeeze. Here's the vim version: VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jul 12 2010 02:29:33) I read a tutorial on http://kovisoft.bitbucket.org/tutorial.html a...
Arroyo asked 5/2, 2012 at 4:30

3

Solved

I was practicing Scheme in Guile 1.8.8 interpreter on OS X. I noticed something interesting. Here's expt function which is basically does exponentiation expt(b,n) = b^n : (define (square x) (* x...
Imre asked 24/1, 2013 at 7:1

2

Solved

In JavaScript, I can retrieve the "source code" definition of a function, for example: ​function alert_Hi() { alert("Hi"); } alert(alert_Hi); will return exactly what I typed. http://jsfiddle....
Jansen asked 26/8, 2012 at 11:6

2

Solved

I found this code in Clojure to sieve out first n prime numbers: (defn sieve [n] (let [n (int n)] "Returns a list of all primes from 2 to n" (let [root (int (Math/round (Math/floor (Math/sqrt n...
Beefcake asked 30/4, 2012 at 13:54

2

Solved

I have been using MIT-Scheme for sometime now, and it works great. However, in the REPL mode, I really miss having a history of all the commands that I typed into it. It's very frustrating to retyp...
Muricate asked 24/4, 2012 at 3:52

4

The problem is the following and it found in http://www.cs.indiana.edu/classes/b551-leak/scheme_practice.html . Problem definition: Write a function cxr that is a generalization of the car/cdr o...
Defend asked 8/3, 2012 at 4:16

1

Solved

Using MIT-Scheme 9.x, is there a way using the debugger or some other tool to inspect an anonymous compound-procedure (created by returning a lambda function), e.g. to find out exactly what code at...
Motorize asked 10/1, 2012 at 16:37

3

Solved

What are the pros and cons of using MIT Scheme versus using DrScheme, in the context of trying to go through SICP (presumably simultaneously to watching some / all the MIT 6.001 videos)?
Holsinger asked 17/11, 2009 at 14:57

3

Solved

Is there a possibility to use mit scheme as a simple compiler (without runing Edwin) in Windows? I want to edit code in wditor of my choice and compile it, but I haven't found and option to do thi...
Anaclinal asked 20/11, 2010 at 15:13
1

© 2022 - 2024 — McMap. All rights reserved.