Testing latest pari + WASM + node.js... and it works?! Wow.
License: GPL3
ubuntu2004
/* A Bison parser, made by GNU Bison 3.3.2. */12/* Bison interface for Yacc-like parsers in C34Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,5Inc.67This program is free software: you can redistribute it and/or modify8it under the terms of the GNU General Public License as published by9the Free Software Foundation, either version 3 of the License, or10(at your option) any later version.1112This program is distributed in the hope that it will be useful,13but WITHOUT ANY WARRANTY; without even the implied warranty of14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15GNU General Public License for more details.1617You should have received a copy of the GNU General Public License18along with this program. If not, see <http://www.gnu.org/licenses/>. */1920/* As a special exception, you may create a larger work that contains21part or all of the Bison parser skeleton and distribute that work22under terms of your choice, so long as that work isn't itself a23parser generator using the skeleton or a modified version thereof24as a parser skeleton. Alternatively, if you modify or redistribute25the parser skeleton itself, you may (at your option) remove this26special exception, which will cause the skeleton and the resulting27Bison output files to be licensed under the GNU General Public28License without this special exception.2930This special exception was added by the Free Software Foundation in31version 2.2 of Bison. */3233/* Undocumented macros, especially those whose name start with YY_,34are private implementation details. Do not rely on them. */3536#ifndef YY_PARI_SRC_LANGUAGE_PARSE_H_INCLUDED37# define YY_PARI_SRC_LANGUAGE_PARSE_H_INCLUDED38/* Debug traces. */39#ifndef PARI_DEBUG40# if defined YYDEBUG41#if YYDEBUG42# define PARI_DEBUG 143# else44# define PARI_DEBUG 045# endif46# else /* ! defined YYDEBUG */47# define PARI_DEBUG 048# endif /* ! defined YYDEBUG */49#endif /* ! defined PARI_DEBUG */50#if PARI_DEBUG51extern int pari_debug;52#endif5354/* Token type. */55#ifndef PARI_TOKENTYPE56# define PARI_TOKENTYPE57enum pari_tokentype58{59KPARROW = 258,60KARROW = 259,61KDOTDOT = 260,62KPE = 261,63KSE = 262,64KME = 263,65KDE = 264,66KDRE = 265,67KEUCE = 266,68KMODE = 267,69KAND = 268,70KOR = 269,71KID = 270,72KEQ = 271,73KNE = 272,74KGE = 273,75KLE = 274,76KSRE = 275,77KSLE = 276,78KSR = 277,79KSL = 278,80KDR = 279,81KPP = 280,82KSS = 281,83KINTEGER = 282,84KREAL = 283,85KENTRY = 284,86KSTRING = 285,87SEQ = 286,88DEFFUNC = 287,89INT = 288,90LVAL = 289,91SIGN = 290,92DERIV = 29193};94#endif9596/* Value type. */9798/* Location type. */99#if ! defined PARI_LTYPE && ! defined PARI_LTYPE_IS_DECLARED100typedef struct PARI_LTYPE PARI_LTYPE;101struct PARI_LTYPE102{103int first_line;104int first_column;105int last_line;106int last_column;107};108# define PARI_LTYPE_IS_DECLARED 1109# define PARI_LTYPE_IS_TRIVIAL 1110#endif111112113114int pari_parse (char **lex);115116#endif /* !YY_PARI_SRC_LANGUAGE_PARSE_H_INCLUDED */117118119