Can it do syntax highlighting of custom programming langs? That would be super handy.
Conversation
If they're Lispy then the included lib does a good job. If not, then you'd have to build a little lexer.
1
1
At least you get to use a reasonable language to build extensions...
1
1
1
That'll do it. If you don't want to use the #lang for anything but slides, then this might be overkill relative to just writing some regexps to dump a highlighted picture out of a string.
1
1
Might be good procrastination material for my next talk! At least I'd learn more about Racket's language implementation stuff! Always wanted to have an excuse to learn. 🤔
1
1
You can also go completely over the top like I did for ICFP 16 and have your compiler talk to your slides over a socket for a mini ide in the slides...
1
1
Hah, I liked that one! Where you showed off Pie? Looked super nice.
1
This one was Idris: m.youtube.com/watch?v=pqFgYC
2
1
Pie runs in-process, no need for the socket
1
If you write your type checkers and slides in the same language, it makes that kind of trick easy!
1
Perhaps I need to make a Rust slideshow tool....
(nooo, this is the path to the dark side...)
1
Show replies

