I think Racket has lots of examples of implementing non-sexp languages, but not of implementing extensible non-sexp languages
What qualifies a language as extensible here? (Might be a dumb question)
Macros!
As extensible as macros, not just the usual higher-order style
“Can a S-exp language supporting LSP implement a non-S-exp language powerful enough to support LSP?”
ahhh I see. alright thanks
what’s the best way to write math equations in scribble? is it possible to “escape” to Latex or insert Latex code in a scribble file?
This looks awesome! I’m surprised this is the first time i read about it. @spdegabrielle Is this already somewhere on the wiki?
I escape to plain LaTeX using element
with '(exact-chars)
from scribble/core
. Kind of works and can embed picts but it doesn’t interop well
note that exact
from that package does exactly that
Is there an example document?
#lang scribble/base
(require latex-utils/scribble/utils
latex-utils/scribble/math)
@title{On the Cookie-Eating Habits of Mice}
@exact{$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$}
nope doesn’t work
You’re missing @
before require
Then it works
god I’m an idiot
Add example to docs: https://github.com/dented42/latex-utils/pull/6 (can’t test right now) Wiki page with example: https://github.com/racket/racket/wiki/Scribble---LaTeX-utils Master page on wiki: https://github.com/racket/racket/wiki/Scribble
There is only a couple of days left in the syntax parse bee: get your contributions in before it is too late https://github.com/syntax-objects/Summer2021/blob/master/ANNOUNCEMENT.md
There’s other bits of missing tooling too. Using Scribble to document non-s-exp languages is a huge pain, for example.
Rendering my package’s scribble docs all of a sudden started taking so long it won’t finish and raco setup
is using in excess of 30GB trying to render docs. Anyone have any ideas why that might happen?
Yes, I’ve wondered a lot about what a scribble facility for documenting non-s-exp forms would look like.