Groups
Sign in
Groups
PEG.js: Parser Generator for JavaScript
Conversations
About
Send feedback
Help
Implementation of heredocs with trim indent
28 views
Skip to first unread message
Jakub T. Jankiewicz
unread,
Oct 14, 2021, 3:21:19 AM
10/14/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PEG.js: Parser Generator for JavaScript
Is it possible with PEG.js to implement a parser for code like this:
xxx = <<<END
hello
world
END
And have this string as output:
"hello
world"
as output?
Reply all
Reply to author
Forward
0 new messages