Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Nested Comments in BNFC

Technical Report ·
DOI:https://doi.org/10.2172/1644738· OSTI ID:1644738
 [1]
  1. Sandia National Lab. (SNL-NM), Albuquerque, NM (United States)

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.

Research Organization:
Sandia National Laboratories (SNL-NM), Albuquerque, NM (United States)
Sponsoring Organization:
USDOE National Nuclear Security Administration (NNSA)
DOE Contract Number:
AC04-94AL85000
OSTI ID:
1644738
Report Number(s):
SAND--2020-7750R; 687690
Country of Publication:
United States
Language:
English

Similar Records

LEXER: A tool for lexical analysis of program input
Technical Report · Tue Aug 01 00:00:00 EDT 1989 · OSTI ID:5626213

Visual Structure Language
Technical Report · Wed Oct 31 23:00:00 EST 2001 · OSTI ID:789522

Optimization of nested SQL queries revisited
Conference · Tue Mar 31 23:00:00 EST 1987 · OSTI ID:6470730

Related Subjects