代码搜索结果
找到约 10,000 项符合
G 的代码
compiler.g
tree grammar Compiler;
options{
tokenVocab = CMinus;
ASTLabelType = CommonTree;
output = template;
}
@header{
import java.util.HashMap;
import java.util.Vector;
import java.util.Map;
impo
validator.g
tree grammar Validator;
options{
tokenVocab = CMinus;
ASTLabelType = CommonTree;
}
@header{
import java.util.HashMap;
import java.util.Vector;
import java.util.Map;
import java.io.*;
}
@membe
functionid.g
tree grammar FunctionID;
options{
tokenVocab = CMinus;
ASTLabelType = CommonTree;
}
@header{
import java.util.HashMap;
import java.util.Vector;
import java.util.Map;
import java.io.*;
}
progr
eval.g
tree grammar Eval;
options{
tokenVocab = CMinus;
ASTLabelType = CommonTree;
}
@header{
import java.util.HashMap;
import java.util.Vector;
import java.util.Map;
import java.io.*;
}
@members{
cminus.g
grammar CMinus;
options{
output = AST;
ASTLabelType = CommonTree;
}
tokens{
POS; NEG; POSTFIX; PREFIX; NOP; PROGRAM; FUNCTION; VARDEF; ARRDEF; VARPAR; ARRPAR; BLOCK; ASSIGN; EXPR; EXPRLIST; CALL;
validator.g
tree grammar Validator;
options{
tokenVocab = CMinus;
ASTLabelType = CommonTree;
}
@header{
import java.util.HashMap;
import java.util.Vector;
import java.util.Map;
import java.io.*;
}
@membe
g.cs
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Configuration;
using System.Runtime.CompilerServices;
[CompilerGenerated, EditorBrowsable(EditorBrowsableState.Advanced)
g.c
#include
int chknum(int n)
{
int i=2;
while(1)
{
if(n
g.out
YES
NO
YES
NO
YES
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
N