Skip to content

Unindenting content? #96

Answered by wooorm
TrisMcC asked this question in Q&A
Discussion options

You must be logged in to vote
  • almost everything is possible!
  • should you do it? Probably no. See the stuff on extensions in the readme
  • if you‘re going to do it, is it hard? yes, yes it is.
  • everything has to be a token. Unknown tokens are thrown away.
  • you can’t just eat every character other than a space and put it into one token! At least line endings, but several things like EOFs need to be handled!
  • Why not use directives?!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TrisMcC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants