9 ms·
I'm a CS teacher and use Pollen to write my assignments (sample: https://drive.google.com/file/d/0B9DAZWpkQIDuUlA4SU5lcHItRDg/view?usp=sharing https://drive.goo
by alew1 9y ago
I'm a CS teacher and use Pollen to write my assignments (sample: https://drive.google.com/file/d/0B9DAZWpkQIDuUlA4SU5lcHItRDg/view?usp=sharing 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.
- xrayspec 9y agoThis is great. I would love to see the source for this. Would you consider posting it?
- alew1 9y agoThanks! 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/883ee382a697b39f0f6b49561a0542f1 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.