>From time to time, I test Racklog, in the hope that the Racket team
replaced it with something more efficient. After all, there are many good
implementations of Prolog like languages around. I simply cannot understand
why Racket must be packed with a ridiculously slow piece of software, such
a
A couple of years ago, I was unable to run Racket on my webpage. I
complained on this forum, and the developers fixed the issue. Things worked
fine until version 7.3, when the old problem reappeared. Here is what
happens:
```
advog...@advogadosmg.org [~]# racket-7.5.0.10/bin/racket
racket-7.5.
I tried to implement despair 1 in Racket, and have a few questions about my
solution. By the way, I am not a student trying to get my homework done by
somebody else.
The restrictions for despair 1 are:
1 - The whole implementation must have less than 100 lines. Comments and
tests don't count as l
Racketeers.
I work with a small research team that is building a navigation system for
blind people. The hardware is similar to the one used in robotic vision:
Cameras, sonar, GPS, laser measurement sensors, and the like. There are two
sonar systems: (a) A sonar belt around the head to avoid hitti
I would like to install and use profj in Racket. It would be great if profj
could work like it used to do in PLT 4.1. I downloaded the port by M.
Flatt, and installed it thus:
raco pkg install profj
The tests worked well, but I could not make profj work in drracket. In
fewer words, I could not de
result proves to be as slow as Python.
2014-05-14 10:40 GMT-03:00 Konrad Hinsen :
> Eduardo Costa writes:
>
> > Is there anything in the semantic of Python that makes it much more
> difficult to
> > implement a Python compiler than a Racket compiler?
>
> Python is much m
I am trying to understand why is so difficult to implement fast compilers
for languages like Python and Ruby. In particular, I wrote a few programs
in Racket, SBCL, and Python (PyPy). Most of these benchmarks deal with
number crunching (like simplex method and solving linear equations), list
proce
curious.
2014-05-11 6:23 GMT-03:00 Jens Axel Søgaard :
> 2014-05-11 6:09 GMT+02:00 Eduardo Costa :
> > The documentation says that one should expect typed/racket to be faster
> than
> > racket. I tested the math/matrix library and it seems to be almost as
> slow
> > in t
The documentation says that one should expect typed/racket to be faster
than racket. I tested the math/matrix library and it seems to be almost as
slow in typed/racket as in racket. Here is the program in typed racket:
#lang typed/racket ; file: matrix.rkt
(require math/matrix)
(: mx Index)
(defi
I posted a few questions about Racket macros a few days ago, and received
many interesting suggestions Neil Van Dyke. Danny Yoo posted a link to a
very interesting blog/book, which was of great help:
http://www.greghendershott.com/fear-of-macros/
I also received programs from Robby Findler, Sean
In general, I don't have problems with macros in Common Lisp or in Scheme.
However, macros in Racket baffle me. I simply cannot figure out how
syntax->datum, syntax->list and datum->syntax work. In any case, I need a
macro to prove that a proposition is a tautology. Below you will find what
I did.
I paid a visit to Vitruvius Architecture & Design, where people were doing
some impressive work in building film scenery and set. Unhappily the
architects refused to tell me how to perform the magic. However, I was able
to collect information that may help in reverse engineering their job.
As far
I am having dificulty in using Racket on Windows, although it works quite
well on Linux. Can members of this list tell me what I am doing wrong?
C:\eo>\Racket\Racket.exe -il xrepl
Welcome to Racket v6.0.
-> ,sh ed -p": "
: a
#lang racket
(define (sqr n)
(* n n))
.
: w xek.rkt
42
: q
-> (enter
It seems that Vim configure does not accept Racket v5.93 out of the box. It
would be nice if somebody could tell Vim users how to build a VIM friendly
Racket installation.
Racket Users list:
http://lists.racket-lang.org/users
My students are having a hard time with Racket 5.92. Libraries are not
placed correctly, a lot of things do not compile any more, etc. A couple of
example will show what I mean.
Here are the compilation steps:
./configure --disable-futures --disable--places --prefix=/usr/local
make
make install
Racket's editor is very slow. Therefore, the background expansion produces
an annoying flicking in the Macintosh. Of course, it produces an annoying
flicking in Linux too, but in Linux it is easy to turn it off. Well, I
would like to learn how to disable background expansion in the Macintosh.
Thank
I am using Racket as a scripting language for Vim. I believe that the
number of people who use Racket instead of VimL is not very small. I live
in a town with 60 inhabitants, and at least 40 persons use Racket to
script Vim. Therefore, I wonder whether the new release of Racket will be
compati
Well, I compiled Vim with mzscheme enabled. It works great. However, in the
documentation, I found that mzscheme has a library called mzscheme-vimext
that adds many Vim related commands to mzscheme. I could not find
mzscheme-vimext anywhere. I mean, I couldn't find it in PLaneT, in the Vim
distribu
AGE_URL ""
| #define UNIX 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define FEAT_NORMAL 1
| #define USE_XSMP_INTERACT 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
2013/11/29 Juan Francisco Cantero Hurtado
> On 11/28/13 23:58, Eduardo Costa
I need a fast text editor, with outlines, and a fast lisp for performing
textual search with a bit of semantics. The programs have both Scheme and
Common Lisp versions. They are straightforward, in the sense that no
esoteric Lisp resources are used. Vanilla flavor Lisp.
The programs will be used b
I wonder whether I can use scribble as script a scripting
language, to generate html on the fly. Consider the
following minipage:
http://advocacia.me/rkt/pages.r
Here is the script that generated it:
#!/usr/bin/env racket/bin/racket
#lang racket
(display (~a "Content-type: text/html
Racket
Sorry, I replied directly to Robby Findler, instead of sending the request
to the list, so others can also profit of Robby's answer.
Where can one get the modified esc;w?
Racket Users list:
http://lists.racket-lang.org/users
I notice that there are many keystrokes missing in emacs keybindings.
Besides this copy-clipboard (M-w) does not work like in emacs. When I mark
a region and press Alt-w, the editor does not exit select mode. This means
that I am not able to move to another place and paste the selected region.
If I
I need to use scribble to present cgi generated chemical and mathematical
equations. I mean, the figures will be generated on demand; they don't
exist when I compile the program. According to the principle of least
astonishment, I tried something like that:
#lang scribble/base
@title{Equations}
I intend to use Racket for CGI. I can use the basic language without
problem. For instance, the below program works perfectly well.
#! ./racket/bin/racket
#lang racket
;(require plot)
(display "Content-Type: text/plain")
(newline) (newline)
(display "Hello from Racket!")
(newline)
However, when
25 matches
Mail list logo