Hi,
Does anyone use Whalesong to script web pages?
As far as I understand the Racket design, Whalesong is enough to bootstrap full
Racket in a JS environment. It's a great opportunity. I would like very much to
have an interactive lisp development where I can develop both server side and
clien
On 2015-09-06 20:41:18 -0500, Robby Findler wrote:
> Some suggestions about the method you linked to:
>
> - Don't create the brush inside on-paint (use the brush-list or stick
> it in a field).
>
> - Don't assume that the width of "a" is the same as the other widths
> (it isn't in common racket c
As far as I can tell, to get the highlighting to start in the position
after (so to highlight "[x (foo bar)]" when the insertion point is
before that quoted "]"), then you'd need to change the method I
pointed you to. I guess it would make sense to add an overridable
method that returns #f or a pos
With some difficulty, as far as I can make out :) The code overrides
on-paint and draws its own cursor. The insertion point does not appear to
be changed; the cursor display is just changed from a line between char@pos
and char@pos+1 to a box covering char@pos+1
https://github.com/takikawa/drracke
The highlighting you're interested in changing is the (by default)
grey highlighting that moves around when you change the insertion
point (when you use the arrow keys, say), right?
If so, I think the code you're looking for is the match-parens private
method in framework/private/color. You can se
Let's say I have the following:
(let ([x (foo bar)] ... )
In the regular drracket editor, when I move the cursor between the ) and ]
it highlights (foo bar). In the vim emulator, the cursor has been replaced
by a block that highlights a character, rather than a line just before it.
So the same cu
I am not quite following what you want to do. Can you give an example
interaction?
Robby
On Sunday, September 6, 2015, Martin DeMello
wrote:
> I'm trying to override the automatic backward-sexp highlighting in
> drracket to highlight the sexp based on the ) after the cursor rather than
> before
I'm trying to override the automatic backward-sexp highlighting in drracket
to highlight the sexp based on the ) after the cursor rather than before it
[https://github.com/takikawa/drracket-vim-tool/issues/13]. Is this
possible? I tried overriding flash-backward-sexp but it didn't seem to have
any
The package system knows the currently installed checksum. There's not
currently a simple function to look up the checksum for a given package
name, but you could use
(require pkg/lib)
(define (get-pkg-checksum pkg-name)
(define info
(for/or ([scope (in-list (get-all-pkg-scopes))])
Thanks a lot!
It sounds... amazingly simpler. It even supports branches!
Even readding support for auto-update sounds easy, to prevent human errors
by students. (It's certainly less work than I spent working around the
current system). I might even integrate this in the docs.
The "hard part" is ju
On 09/06/2015 10:33 PM, Jack Firth wrote:
On Sunday, September 6, 2015 at 10:56:16 AM UTC-7, Juan Francisco Cantero
Hurtado wrote:
On 09/06/2015 01:05 PM, Jack Firth wrote:
Alpine provides a glibc package, could I just swap out for that instead?
No, they don't provide glibc:
https://pkgs.alp
An easier way is:
* Create a Git repo (e.g., at GitHub) for your handin client. It's a
good idea to name the repo something specific to your class, as
opposed to just "handin".
For example, the one for my class is
https://github.com/mflatt/uu-cs5510.git
* Optionally, register a
The official DrRacket build for Debian installs and runs easily on
SteamOS beta:
http://www.neilvandyke.org/temporary/steamos-drracket-gears.png
There is an appeal to being able to develop OpenGL or GTK programs
directly on your living room media/gaming appliance, in DrRacket. Valve
is be
Hi all,
my research group is going to teach using How to Design Programs (2nd ed.), and
I'm currently automating deployment of the handin-client with auto-update.
Since the handin-client (and the auto-updater) was written for the old "package
management system" (Planet), I'm having some trouble
Yes, that is correct.
Vincent
On Sun, 06 Sep 2015 12:36:46 -0500,
'John Clements' via Racket Users wrote:
>
> A few days ago, I made a pull request (#1030) against plt/racket. Jay
> McCarthy approved it… but now I don’t see it on master. I’m guessing… that
> these commits need to be made to
On Sunday, September 6, 2015 at 10:56:16 AM UTC-7, Juan Francisco Cantero
Hurtado wrote:
> On 09/06/2015 01:05 PM, Jack Firth wrote:
> > Alpine provides a glibc package, could I just swap out for that instead?
>
> No, they don't provide glibc:
> https://pkgs.alpinelinux.org/packages?name=glibc&r
On 09/06/2015 01:05 PM, Jack Firth wrote:
On Saturday, September 5, 2015 at 2:54:42 PM UTC-7, Juan Francisco Cantero
Hurtado wrote:
On 09/04/2015 10:32 PM, Jack Firth wrote:
Virtualbox -> Linux -> Docker -> Alpine
^
Which Linux distro?
I'm asking because the usual Racke
A few days ago, I made a pull request (#1030) against plt/racket. Jay McCarthy
approved it… but now I don’t see it on master. I’m guessing… that these
commits need to be made to git.racket-lang.org instead, and then they get
force-pushed to the github account. Is this correct? If so, I’ll just
On Saturday, September 5, 2015 at 2:54:42 PM UTC-7, Juan Francisco Cantero
Hurtado wrote:
> On 09/04/2015 10:32 PM, Jack Firth wrote:
> >>
> >> Virtualbox -> Linux -> Docker -> Alpine
> >> ^
> >>
> >> Which Linux distro?
> >>
> >> I'm asking because the usual Racket errors in d
Dear All,
thanks for all your help, im writing the code to generate a population of
fsm, playing a repeated game and the population evolves over time. (no
mutation yet). here on my github just fyi:
https://github.com/ayaderaghul/sample-fsm
Btw, the blogger suggests that because the automaton only
20 matches
Mail list logo