News for hackers. Stuff that matters.
Re:Pollen: the book is a program by alew1 on Tuesday September 26, 2017 @01:41PM (#15340904)
I'm a CS teacher and use Pollen to write my assignments (sample: https://drive.google.com/file/d/0B9DAZWpkQIDuUlA4SU5lcHItRDg...). It allows me to type assignments as fast as I can think them, in a specialized mark-up language for exactly the type of assignments I give. I can then apply various post-processing operations (like doing syntax highlighting, converting straight quotation marks to curly but not when inside sample code, numbering of problems, inserting special CSS to make the assignments print with nice margins / without breaking up headings and paragraphs that belong with them, etc.) all with very little pain.

It's also neat to show students, after they've spent months learning Racket, that all sorts of useful things -- including the writing of their assignments! -- can be automated with their new skills.

Re:Pollen: the book is a program by xrayspec on Tuesday September 26, 2017 @02:32PM (#15341374)
This is great. I would love to see the source for this. Would you consider posting it?
Re:Pollen: the book is a program by alew1 on Wednesday September 27, 2017 @09:06AM (#15347362)
Thanks! Happy to :-) Here's the code for this assignment, as well as the pollen.rkt and HTML template/CSS files. (Disclaimer: this was written as code to get something done, not for others to see, so it's not always pretty!)

https://gist.github.com/alex-lew/883ee382a697b39f0f6b49561a0...

By the way, I use Atom, which has an excellent Pollen plugin, to write. Typing '@' then pressing tab turns into ◊{}, with the cursor between the lozenge and the braces.