> On Jul 24, 2019, at 1:41 PM, Matthew Flatt <mfl...@cs.utah.edu> wrote: > > it seems difficult to make switching syntax automatic and pervasive. I > think there would end up being a lot of overhead to maintaining > documentation and tools that can reliably toggle between notations.
Support for alternative notation in the documentation system is a missing piece in Racket's LOP tooling: 1) We can make languages with alternative (= non-S-expression) notation. 2) We can integrate these languages with DrRacket pretty nicely, through automatic means (e.g., propagation of source locations) and manual (e.g., the `get-info` function) 3) But we can't document these languages in Scribble using their native notation. That is, primary forms like `defproc` assume that the language uses S-expressions. Examples: `#lang datalog` [1] and `#lang lindenmayer` [2]. [1] https://docs.racket-lang.org/datalog/Tutorial.html?q=datalog <https://docs.racket-lang.org/datalog/Tutorial.html?q=datalog> [2] https://docs.racket-lang.org/lindenmayer/Simplified_Lindenmayer_System_Language.html?q=lindenmayer <https://docs.racket-lang.org/lindenmayer/Simplified_Lindenmayer_System_Language.html?q=lindenmayer> -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/90F502CB-6004-40B7-8A15-3E787C67FFF3%40mbtype.com.