Skip to content

Conversation

@GeorgiMinchev1
Copy link

What

Homework 1 - hs2html - Haskell syntax highlighter.
Homework 2 - hs2html.v2 - Collapsible function bodies for hs2html.

Who

Georgi Minchev - 81906

Check

  • Do not commit binary files
  • Do not commit generated project files

@@ -0,0 +1,6 @@
grep rhs spaghetti.tree | sed 's/^[ ]*//' | sed 's/rhs: (//' | tr -d [,]- | tr -s ' ' | awk -F' ' '{ if ( $1 == "exp_do" || $1 == "exp_cond" || $1 == "exp_let_in") print($2, $3, $4, $5) }' > coordinatesOfBlocks
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use treesitter API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants