Skip to content

Instantly share code, notes, and snippets.

@deanebarker
Last active April 10, 2023 01:38
Show Gist options
  • Select an option

  • Save deanebarker/fb292bc4f4cfea320904ca84d0b39db6 to your computer and use it in GitHub Desktop.

Select an option

Save deanebarker/fb292bc4f4cfea320904ca84d0b39db6 to your computer and use it in GitHub Desktop.
An implementation of Emmet in C# using Parlot
Moved to a permanent repo here: https://github.com/deanebarker/Nemmet
@deanebarker

Copy link
Copy Markdown
Author

Weirdly, changing it to this...

.And(Literals.NonWhiteSpace())

...breaks with or without quotes.

@deanebarker

deanebarker commented Apr 5, 2023

Copy link
Copy Markdown
Author

I just realized if we got rid of the >^+ business and derived that based on indentation (see lines 22-29), then we'd essentially have re-created HAML.

UPDATE: and here we go... https://gist.github.com/deanebarker/fb292bc4f4cfea320904ca84d0b39db6#file-pleasehaml__donthurtem-cs

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