DOE OSTI · 1644738
Nested Comments in BNFC
Abstract
Many languages such as Lua, Haskell and MATLAB support the ability to create nested comments. My proposal is to add a nested comment pragma to BNFC which would allow it to support the parsing of code. In this proposal I will provide sample implementations of nested comments for each of the lexer generators used by BNFC and outline the extension points by which I will add the functionality to the codebase.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Hairapetian, Shant. 2020-07-01. Nested Comments in BNFC. https://doi.org/10.2172/1644738
Cite the original work for its findings. Save a collection to share your selection of sources.