代码搜索结果
找到约 10,000 项符合
Y 的代码
y.cpp
#include
using namespace std;
typedef int ElemType;
typedef struct LNode{ //定义结构
ElemType data;
ElemType num;
struct LNode *next;
}LNode,*LinkList;
v
macedon.y
//Copyright (c) 2004, Charles Killian, Adolfo Rodriguez, Dejan Kostic, Sooraj Bhat, and Amin Vahdat
//All rights reserved.
//
//Redistribution and use in source and binary forms, with or without
//mod
mglyac.y
%{
#include
#include
#include
int screen_done = 1; /* 1 if done, 0 otherwise */
char *act_str; /* extra argument for an action */
char *cmd_str; /* extra argum
pas.y
/* PAS.Y: ISO Level 0 Pascal grammar, adapted to TP Yacc 2-28-89 AG
To compile: yacc pas
lex paslex
tpc pas */
%{
(*
*
* Pascal grammar in Yacc format, ba
yref.y
/* YREF.Y: YREF cross reference utility, V1.1 5-1-91 AG
This is a sample Yacc program which produces complete cross reference
listings of Yacc source (.y) files. It is based on the same gr
expr.y
/* Sample Yacc grammar for a simple desktop calculator; derived from a
grammar in Aho et al: Compilers. Principles, Techniques and Tools (Sect.
4.9).
Lexical analyzer is in Lex program
tiny.y
/****************************************************/
/* File: tiny.y */
/* The TINY Yacc/Bison specification file */
/* Compiler Construction: Princi