ively, 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. :)
>
> Vincent
>
>
>
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"
Thanks John and Jens!
Regards,
Kashyap
On Sat, Oct 1, 2016 at 11:23 AM, Jens Axel Søgaard <jensa...@soegaard.net>
wrote:
> Take a look at:
>
> http://planet.racket-lang.org/display.ss?package=java.
> plt=dherman
>
> 2016-10-01 20:00 GMT+02:00 C K Kashyap <ck
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
'is-prime #t
> '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
>
>
> 2016
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 <ckkash...@gmail.com>:
>
>> Thanks Andrew
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
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
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
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
10 matches
Mail list logo