; Alternatively, you can use my `java-lexer` package which, despite its
> name, does a decent job with much more than just Java. I've used it to
> get some ok highlighting for Haskell, for example. Turns out at the
> lexer level, a lot of things kind of look the same. :)
>
> Vincen
Hi,
What's a good way to syntax-highlight non-racket code within slideshow?
I've been using pandoc so far which has support for multiple languages but
I'd like to start using slideshow.
Regards,
Kashyap
--
You received this message because you are subscribed to the Google Groups
"Racket Users" g
Thanks John and Jens!
Regards,
Kashyap
On Sat, Oct 1, 2016 at 11:23 AM, Jens Axel Søgaard
wrote:
> Take a look at:
>
> http://planet.racket-lang.org/display.ss?package=java.
> plt&owner=dherman
>
> 2016-10-01 20:00 GMT+02:00 C K Kashyap :
>
>> Hi Racket u
Hi Racket users,
It appears that parser-tools/yacc is the parser tool that's bundled with
racket by default. I'd like to parse java like language. I was wondering if
there is already such an implementation that I could use or perhaps a
reference implementation I could use. The example in the source
'arg-count (length '(arg ...))
> 'emitter (lambda (arg ...) body ...)))
> (define-primitive-application-syntax (primitive-name arg ...)))]))
>
> (define-primitive (plus x y) (+ x y))
> plus-property-table
>
gt; by syntax-case as a literal.
>
> The construct syntax-parse does not use a list of identifiers. It uses an
> alternative
> way of specifying literal identifiers.
>
> /Jens Axel
>
>
> 2016-09-22 17:27 GMT+02:00 C K Kashyap :
>
>> Thanks Andrew ... I got past th
Thanks Andrew ... I got past that error. I now get an error below -
" syntax-parse: expected clause in: ()"
(define-syntax (define-primitive stx)
(syntax-parse stx () ; ERROR
[(_ (primitive-name:id arg:id ...) body ...+)
#:with table-name
(format-id #'primitive-name "~a-prop
Thank you so much Jack,
This certainly helps! I was following the tutorial
http://www.greghendershott.com/fear-of-macros/ - It turns out that it too
recommends syntax-parse at the very end :)
When I tried this, I got "syntax: no pattern variables before ellipsis in
template in: ..."
(require syn
Hi all,
I am trying to follow the incremental approach to compiler construction at
http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf
I am trying to define a macro that will do the following -
(define-primitive (add a b)
-> create a hashtable called add-property-table and put in information s
Dear group,
I am trying to use racket for my presentation - essentially document the
flow of code of a system I've been going through for a few days - I was
wondering if there is a slideshow example that I could use to build on top
of to illustrate a workflow.
Regards,
Kashyap
--
You received t
Congratulations Matthew!
Regards,
Kashyap
On Fri, Dec 5, 2014 at 12:43 AM, Éric Tanter wrote:
> Congratulations Matthew! Well-deserved!
>
> -- Éric
>
>
> > On Dec 4, 2014, at 1:50 PM, Matthias Felleisen
> wrote:
> >
> >
> > Even the ACM considers our very own Matthew Flatt as a distinguished
>
e instead, use
>
> raco pkg install midi-readwrite
>
> then add this require to your program
>
> (require midi-readwrite)
>
>
> Vincent
>
>
>
>
> At Sat, 15 Nov 2014 10:54:34 +0530,
> C K Kashyap wrote:
> >
> > Hi,
> > I am trying
ng-today)
> (edit-task-100) // got 100 from the earlier command
> (add-new-task)
so on and so forth...
Regards,
Kashyap
On Sat, Nov 15, 2014 at 5:00 PM, Konrad Hinsen
wrote:
> C K Kashyap writes:
>
> > I was wondering if there is an emacs org-mode equivalent in DrRacket?
&g
Hi,
I am trying to use midi.rkt from
http://planet.racket-lang.org/package-source/clements/midi.plt/1/0/midi-read.rkt.
I did the following -
1. sudo raco planet url clements midi.plt 1 1
2. curl -O url (the url I got form the step 1)
3. I renamed the downloaded file to midi.plt
4. sudo raco plane
Hi,
I was wondering if there is an emacs org-mode equivalent in DrRacket?
Regards,
Kashyap
Racket Users list:
http://lists.racket-lang.org/users
rough q to r then
> a line from r to s and finally
> curves to t
>
> There is a ton of examples here:
>
> https://github.com/soegaard/metapict/blob/master/metapict/examples/metapost-examples.rkt
>
> /Jens Axel
>
>
>
> 2014-
Dear Racket folks,
I'd like to use Dr Racket to generate some drawings. I liked the way I can
compose and create images using slideshow. I could not figure how I could
draw arbitrary curves though?
When I looked for it I found the racket/draw package. Can the racket/draw
functions be used along w
gt;
> http://pkg-build.racket-lang.org/doc/rsound/index.html
>
>
> At Mon, 29 Sep 2014 19:09:17 +0530, C K Kashyap wrote:
> > Hi,
> >
> > I saw this nice racketcon video (
> >
> https://www.youtube.com/watch?v=DkIVzHNjNEA&list=PLXr4KViVC0qI9t3lizitiFJ
Hi,
I saw this nice racketcon video (
https://www.youtube.com/watch?v=DkIVzHNjNEA&list=PLXr4KViVC0qI9t3lizitiFJ1cFIeN2Gdh&index=9)
on rsound. I've installed the rsound package and have been able to run the
example from the video.
Is there a place that has mode documentation/tutorial on rsound?
R
ce, once hides the
> side and the second shows it and focuses it.
>
> On Thu, Sep 25, 2014 at 2:17 AM, C K Kashyap wrote:
> > Hi,
> > I am new to racket (but am really excited by the idea - everything is a
> > program) - need a quick help with Dr Racket -
> >
> >
Hi,
I am new to racket (but am really excited by the idea - everything is a
program) - need a quick help with Dr Racket -
What's the keyboard shortcut to switch between editor and repl?
I got to know from a video on youtube that I could use C-e to toggle the
repl visibility but not able to find o
21 matches
Mail list logo