Skip to content

Instantly share code, notes, and snippets.

View jurgenvinju's full-sized avatar
🚠
in the lift

Jurgen J. Vinju jurgenvinju

🚠
in the lift
View GitHub Profile
@jurgenvinju
jurgenvinju / Dockerfile
Created May 11, 2021 07:56
Dcokerfile for starting Rascal Jupyter notebooks
FROM usethesource/bacata:0.0.1
@jurgenvinju
jurgenvinju / HypothesisToReview.rsc
Last active March 16, 2022 14:30
Turn a block of hypothesis document annotations into a plaintext list of detailed comments for a peer review
module HypothesisToReview
import lang::html::IO;
import IO;
import List;
// this is a simple HTML scraper against an untyped HTML document model (`node`)
str detailedComments(loc hypothesisCards) {
content = readHTMLFile(annos);
review = "";