News for hackers. Stuff that matters.
Re:Racket v7.5 by bsaul on Wednesday November 20, 2019 @12:37PM (#21586190)
Question : is racket still useful if you plan on building a DSL not based on lisp syntax ?
Re:Racket v7.5 by gus_massa on Wednesday November 20, 2019 @01:27PM (#21586790)
Yes. Some examples:

With the default installation of Racket you get an implementation of Algol 60 https://docs.racket-lang.org/algol60/

You can download and install form the package repository the language Honu, that is a Java-like language https://docs.racket-lang.org/honu/index.html

With the default installation of Racket you get Scribble, that is the language that is used to write the docs. (It's the same spirit of LaTeX where everything is a string unless you use a magical character, but the magical character and the details are very different.) https://docs.racket-lang.org/scribble/

Re:Racket v7.5 by catalogia on Wednesday November 20, 2019 @02:11PM (#21587321)
Re:Racket v7.5 by soegaard on Wednesday November 20, 2019 @12:48PM (#21586308)
Yes. There are general parser libraries available you can use to parse what-ever you like.

Use the `parser` library if you want a yacc/bison style parser.

Use `parsack` if you like parser combinators.

Use `ragg` or `bragg` if you like an "automatic parser from grammar".

Re:Racket v7.5 by seisvelas on Saturday November 30, 2019 @01:48AM (#21668915)
I'm currently creating a SQL dialect with Racket. It's great!
Re:Racket v7.5 by velcrovan on Friday November 22, 2019 @11:00AM (#21606745)
Here's an example of building a BASIC interpreter in Racket: https://beautifulracket.com/basic/intro.html