2 * Copyright (C) 2022 Nick Downing <nick@ndcode.org>
3 * SPDX-License-Identifier: GPL-2.0-only
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the Free
7 * Software Foundation; version 2.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc., 51
16 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 %start DATA DATA_TEXT REM_TEXT STR_LITERAL
27 yy_push_state(STR_LITERAL)
87 yyout.write('HCOLOR=')
108 yyout.write('SCALE=')
111 yyout.write('SHLOAD')
117 yyout.write('NOTRACE')
120 yyout.write('NORMAL')
123 yyout.write('INVERSE')
129 yyout.write('COLOR=')
138 yyout.write('HIMEM:')
141 yyout.write('LOMEM:')
147 yyout.write('RESUME')
150 yyout.write('RECALL')
156 yyout.write('SPEED=')
171 yyout.write('RESTORE')
180 yyout.write('RETURN')
349 yyout.write('RIGHT$')
395 if __name__ == '__main__':