代码搜索结果
找到约 10,000 项符合
G 的代码
sor.g
/*
* SORCERER Version 1.00B
*
* Terence Parr
* U of MN, AHPCRC
* April 1995
*/
#header
lang.g
#header text, txt); tr->token=tok; }
>>
#toke
test.g
/* This is test.g which tests simple AST refs and construction */
/* Revised 2002-2-15: preorder_action prototype no longer
matched prototype of base class. (Eero Ivask,
Tallinn Technical
test.g
/* Ariel Tamches (tamches@cs.wisc.edu):
* This tests linking in a simple non-DLG scanner
*/
/* We assume that #tokdefs is not employed for this example; i.e.,
* ANTLR assigns token numbers.
test.g
/* This is test.g which tests a simple DLG-based scanner.
* No garbage collection for tokens since our token can't
* handle ref counting.
*/
/* ANTLR will assign token type numbers (by creati
test.g
/* This is test.g which tests a simple DLG-based scanner
* with user-defined tokens
*/
/* Here, we use #tokdefs to define token types, but still let DLG do the
* lexing. ANTLR will not create
test.g
/* This is test.g which tests multiple scanners/parsers; DLG-based scanner;
* also, we test multiple lexical classes.
*/
test.g
/* This is test.g which tests multiple scanners/parsers; DLG-based scanner */
test.g
/* C++ interface test of Parser Exception Handling
*
* Given input:
*
* if a+ then a=b+b;
*
* the program should respond with
*
* invalid conditional in 'if' statement
* found ass