samth
2021-8-25 14:02:09

I think Racket has lots of examples of implementing non-sexp languages, but not of implementing extensible non-sexp languages


joel
2021-8-25 14:13:01

What qualifies a language as extensible here? (Might be a dumb question)


shu--hung
2021-8-25 14:53:08

Macros!


shu--hung
2021-8-25 14:53:35

As extensible as macros, not just the usual higher-order style


shu--hung
2021-8-25 14:54:29

“Can a S-exp language supporting LSP implement a non-S-exp language powerful enough to support LSP?”


jestarray
2021-8-25 15:16:20

ahhh I see. alright thanks


capfredf
2021-8-25 16:49:44

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?



laurent.orseau
2021-8-25 17:25:16

This looks awesome! I’m surprised this is the first time i read about it. @spdegabrielle Is this already somewhere on the wiki?


shu--hung
2021-8-25 17:28:01

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


samth
2021-8-25 17:53:52

note that exact from that package does exactly that


soegaard2
2021-8-25 19:19:53

Is there an example document?


spdegabrielle
2021-8-25 20:00:58

#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


samth
2021-8-25 20:04:14

You’re missing @ before require


samth
2021-8-25 20:04:19

Then it works


spdegabrielle
2021-8-25 20:04:34

god I’m an idiot


spdegabrielle
2021-8-25 20:22:35

spdegabrielle
2021-8-25 20:32:51

added to resources on discord https://discord.gg/pPYKC3SMW4


spdegabrielle
2021-8-25 20:35:20

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


notjack
2021-8-26 03:15:06

There’s other bits of missing tooling too. Using Scribble to document non-s-exp languages is a huge pain, for example.


notjack
2021-8-26 04:00:52

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?


joel
2021-8-26 04:11:52

Yes, I’ve wondered a lot about what a scribble facility for documenting non-s-exp forms would look like.