Woops! Forgot to put the link to the repo in the original post. Here it is for
those interested: https://github.com/Freezerburn/Rhipmunk-Physics
Racket Users list:
http://lists.racket-lang.org/users
I just wanted to let anyone know that is interested, the new FFI bindings
that I have been looking into for Chipmunk are now on Github. It is far
from finished, but there is at least an initial commit in the repository.
Currently it provides the API bindings that allow the simple
"hello_chipmunk.c"
Rodolfo Carvalho wrote at 06/07/2012 01:05 AM:
#:insert
`(
;; Add a missing #lang line to the top of the file:
(0 "#lang setup/infotab\n")
[...]
Sorry if I just didn't get it right, but wouldn't it be useful to have
a conditional insert?
For instance, it would make sense
Hello Neil V,
On Wed, Jun 6, 2012 at 7:26 PM, Neil Van Dyke wrote:
> ...
>
>
#:insert
> `(
> ;; Add a missing #lang line to the top of the file:
> (0 "#lang setup/infotab\n")
>
> ...
> I thought I'd bounce this off anyone who was interested to see if I missed
> some useful feature that's
OK, thanks. I am unconfused now.
Matthew Flatt wrote at 06/07/2012 12:27 AM:
Neil V.
Racket Users list:
http://lists.racket-lang.org/users
Yes, I'll fix that. Thanks!
At Wed, 6 Jun 2012 11:04:14 +0200, Tobias Hammer wrote:
> Hi,
>
> would it, maybe as part of the current error message overhauling, be
> possible
> to make the error message for cyclic requires more useful.
> It is currently truncated at an arbitrary length, that is
At Wed, 06 Jun 2012 23:43:25 -0400, Neil Van Dyke wrote:
> Question: A number for source location position of a syntax object is
> what file-position would say after the first character of the syntax had
> been read?
It's what `port-next-location' reports, which is the same as
`file-position' af
Question: A number for source location position of a syntax object is
what file-position would say after the first character of the syntax had
been read?
I'm double-checking before I code this into an API. I see in
"http://doc.racket-lang.org/reference/linecol.html"; the statement
"Position
If anyone is interested in programmatic file editing, please feel free
to comment on this library interface I've just sketched out.
My immediate need is that I want McFly to automatically edit an existing
"info.rkt" file in some circumstances, such as to add necessary things
that the programme
I'm considering writing an H.264 encoder/decoder in Racket. Has anyone tried
such a thing before?
Codecs require a lot of bit-whacking and the h264 standard is particularly
convoluted. Efficiencies are obtained in C in many different and usually
complex ways. Codec experts usually recommend
On Jun 6, 2012, at 4:58 PM, Steve Byan wrote:
> I'm having great fun with Racket.
We all do :-)
Racket Users list:
http://lists.racket-lang.org/users
On Jun 1, 2012, at 7:44 PM, Jay McCarthy wrote:
> I just pushed the alist version
Thanks, it works great! Very interesting code, I'll have to read up on match
and friends. Looks like you basically took the grammar from the plist-dict
documentation and wrote a recursive-descent parser?
On the
You can always try including the relative path. Something like:
(find-executable-path "pdflatex" "../../../sw/bin")
Doesn't OS X have a .profile? Maybe try defining the path there instead of
in .bashrc?
On Wed, Jun 6, 2012 at 2:40 PM, Viera Proulx wrote:
> I am starting to play with scribble an
I am starting to play with scribble and have tried to generate a pdf document
from the scribble source. The conversion to html worked fine.
When I hit the Scribble to PDF button I got:
Welcome to DrRacket, version 5.2.1 [3m].
Language: scribble/manual; memory limit: 128 MB.
scribble: loading xr
On Wed, Jun 6, 2012 at 10:57 AM, Jordan Schatz wrote:
> But I've been getting around (mostly) the write code -> kill server / start
> server -> test -> debug -> kill server / start server work flow by
> coding/testing everything outside of the server, and then just doing
> integration
> testing i
I'll have to look into what Jay wrote, as I didn't know it was possible and I'll
have to read the docs abit before I really understand it.
But I've been getting around (mostly) the write code -> kill server / start
server -> test -> debug -> kill server / start server work flow by
coding/testing
Maybe something similar to Microsoft's #region directive (
http://msdn.microsoft.com/en-us/library/9a1ybwek(v=vs.71).aspx). It
wouldn't need much intelligence, but you would have to manually define each
block
(define fish '(1 2))
;; region Tests
(module+ test (check andmap number? fish))
;; endreg
Ronald,
The Structure and Interpretation of Computer Programs has a pretty good
section about how the recursion happens. It's pretty short, and I think it
covers what you are interested in understanding
http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1.5
In particular, check
On Wed, Jun 06, 2012 at 03:17:30AM -0700, Ronald Reynolds wrote:
> Is it correct to say that when I call a function inside of it's own
> definition I am just making it repeat loop?
> (define (my-map f lst)
> (cond
> [(empty? lst) empty]
> [else (cons (f (first lst))
>
On Jun 6, 2012, at 6:17 AM, Ronald Reynolds wrote:
> Is it correct to say that when I call a function inside of it's own
> definition I am just making it repeat loop?
> (define (my-map f lst)
> (cond
>[(empty? lst) empty]
>[else (cons (f (first lst))
>(my-map f (rest
Hello Ronald,
Function calling is the semantically the same no matter what function you
call. When you call a function you set up an environment/stack for the
function to operate in.
Now when a function is recursive it create a new environment/stack and
calls a function just like itself (with equ
Is it correct to say that when I call a function inside of it's own definition
I am just making it repeat loop?
(define (my-map f lst)
(cond
[(empty? lst) empty]
[else (cons (f (first lst))
(my-map f (rest lst)))]))
Is this code telling racket to repeat until lst is
Hi,
would it, maybe as part of the current error message overhauling, be
possible
to make the error message for cyclic requires more useful.
It is currently truncated at an arbitrary length, that is often not enough
to
show a full cycle. That makes it unnecessary hard to track down these
p
On Tue, Jun 5, 2012 at 7:37 AM, Ronald Reynolds wrote:
> I hope I'm not too much of a 'pain in the neck noobie' but what is the short
> clean answer about what's going on when we
> name a function as part of the definition of itself.. This seems pretty
> esoteric to me. What does the system do?
24 matches
Mail list logo