On 06/07/17 23:40, George Neuner wrote:
If you don't need full featured Scheme, but are interested mainly in
efficient object code, you might look at PreScheme. PreScheme is
statically typed, compiles to C, has very minimal runtime and no GC
(you can deallocate memory manually if desired).
On Thu, 6 Jul 2017 11:06:17 -0700 (PDT), spearman
wrote:
>On Tuesday, July 4, 2017 at 4:00:14 PM UTC-7, Hendrik Boom wrote:
>
>> Not exactly what you're asking for, but Gambit is a Scheme
>> implementation that compiles to C (or C++). You can define functions
>> and
You can assign numbered captions to figures with `figure` from
`scriblib/figure` (and reference them with `figure-ref`).
http://docs.racket-lang.org/scriblib/figure.html
I don't know how to caption tables or number equations in Scribble.
On Thu, Jul 6, 2017 at 7:50 AM, Dmitry Pavlov
spearman wrote on 07/06/2017 02:06 PM:
They claim to support the full Scheme standard so I guess there's a runtime
and/or GC gets involved at some point, something I would like to avoid.
Correct, you do need GC, in the normal case. (Though a whole lot of RAM
or swap would work in many
On Thursday, July 6, 2017 at 2:53:43 AM UTC-7, Neil Van Dyke wrote:
> * Pretty similar alternative: user has a Racket file "my-foo", which is
> the immediate program the user runs. This file does a `(require foo)`,
> as well as a `(start-foo #:pref1 x #:pref2 y ...)`.
You may be interested in
On Tuesday, July 4, 2017 at 4:00:14 PM UTC-7, Hendrik Boom wrote:
> Not exactly what you're asking for, but Gambit is a Scheme
> implementation that compiles to C (or C++). You can define functions
> and specify what C ode should be used to implement them. So in a
> sense, mcros in Gambit end
I wouldn't suggest using `set!` that way -- I'm a big fan of internal `define`.
Sam
On Thu, Jul 6, 2017 at 12:19 PM, David Storrs wrote:
>
>
> On Thu, Jul 6, 2017 at 8:53 AM, Sam Tobin-Hochstadt
> wrote:
>>
>> Just for clarity, here's an example
On Thu, Jul 6, 2017 at 8:53 AM, Sam Tobin-Hochstadt
wrote:
> Just for clarity, here's an example using `set!` and `define`,
> although I wouldn't really suggest this style:
>
> #lang typed/racket
>
> (: f : Real -> Real)
> (define (f x)
> (define rand-value (random))
>
Just for clarity, here's an example using `set!` and `define`,
although I wouldn't really suggest this style:
#lang typed/racket
(: f : Real -> Real)
(define (f x)
(define rand-value (random))
(define new-value (+ x rand-value))
(set! new-value (- new-value x))
new-value)
Sam
On Wed,
Hello,
I have zero experience with Scribble, and today I have been considering using
it to document a program.
Previously, I have been using LaTeX, Markdown, and Word.
One of the first questions that comes to mind is: can I assign captions to
tables (rendered above the table) and figures
Let's say I'd like to move Racket apps closer to old-school Emacs-like
extensibility. Such as very-low-friction way to use arbitrary Racket
code to set app preferences, and to hook into behavior of the app and
add features. And generally encouraging everyone to get their hands
dirty coding
11 matches
Mail list logo