Re: [racket-users] Starting a language after Beautiful Racket

2020-04-11 Thread Pratyush Das
Thanks! On Sat, 11 Apr 2020 at 00:12, Matthew Butterick wrote: > Three options: > > 1) Implement your language in `#lang br` now (and optionally convert to > `racket/base` later) [1] > > 2) Import the `br/datum` module into a `#lang racket/base` program to get > `format-datum` [2] > > 3) Reimple

Re: [racket-users] Starting a language after Beautiful Racket

2020-04-10 Thread Matthew Butterick
Three options: 1) Implement your language in `#lang br` now (and optionally convert to `racket/base` later) [1] 2) Import the `br/datum` module into a `#lang racket/base` program to get `format-datum` [2] 3) Reimplement `format-datum` your own way. You can see the underlying code by right-cli

Re: [racket-users] Starting a language after Beautiful Racket

2020-04-10 Thread Pratyush Das
A followup question - But this assumes that the br lang is being used(I think because of the > format-datum syntax). How do I implement this without using the br lang? ... (define src-lines (p

[racket-users] Starting a language after Beautiful Racket

2020-04-10 Thread Pratyush Das
I am absolutely new to both Racket and language implementation. I read through some portions of Beautiful Racket and the racket guide before trying to implement a language on my own and this