Search NASA⌕ Search

Engineering topics

Hairapetian, Shant

Publications and source records attributed to Hairapetian, Shant.

Nested Comments in BNFC

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.

97 MATHEMATICS AND COMPUTING↗