sjbarag / brs

An interpreter for the BrightScript language that runs on non-Roku platforms.
MIT License
114 stars 43 forks source link

feat(lex): Emit comments from the lexer #654

Closed sjbarag closed 3 years ago

sjbarag commented 3 years ago

Comment nodes are handy for non-executing tooling, and allow tools like eslint to automatically ignore rules based on specific directives. Emit eslint-compliant comment nodes from the lexer for consumption by external tools.