source/index.js
function filter_lines_for_parsing(lines)
{
	// filter out blank lines
	lines = lines.filter(line => !is_blank(line.line))

	lines.forEach(function(line)
	{
		// remove single line comments
		line.line = line.line.replace(/^\s*\/\/.*/, '')
		// remove any trailing whitespace
		line.line = line.line.trim()
	})

	return lines
}
function filter_lines_for_parsing(lines)
{
	// filter out blank lines
	lines = lines.filter(line => !is_blank(line.line))

	lines.forEach(function(line)
	{
		// remove single line comments
		line.line = line.line.replace(/^\s*\/\/.*/, '')
		// remove any trailing whitespace
		line.line = line.line.trim()
	})

	return lines
}
function filter_lines_for_parsing ( lines ) { // filter out blank lines lines = lines . filter ( line => ! is_blank ( line . line ) ) lines . forEach ( function ( line ) { // remove single line comments line . line = line . line . replace ( / ^\s*\/\/.* / , '' ) // remove any trailing whitespace line . line = line . line . trim ( ) } ) return lines }
filters out comments, blank lines, etc
filters out comments blank lines etc