Testing latest pari + WASM + node.js... and it works?! Wow.
License: GPL3
ubuntu2004
/* Copyright (C) 2000 The PARI group.12This file is part of the PARI/GP package.34PARI/GP is free software; you can redistribute it and/or modify it under the5terms of the GNU General Public License as published by the Free Software6Foundation; either version 2 of the License, or (at your option) any later7version. It is distributed in the hope that it will be useful, but WITHOUT8ANY WARRANTY WHATSOEVER.910Check the License for details. You should have received a copy of it, along11with the package; see the file 'COPYING'. If not, write to the Free Software12Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */1314/*************************************************************************/15/* */16/* Declarations specific to the analyzer */17/* */18/*************************************************************************/19BEGINEXTERN20/* functions */21void changevalue(entree *ep, GEN val);22void freeep(entree *ep);23void pari_fill_hashtable(entree **table, entree *ep);2425void compile_err(const char *msg, const char *str);26void compile_varerr(const char *str);2728#ifdef STACK_CHECK29extern THREAD void *PARI_stack_limit;30#endif3132extern entree **varentries;3334struct node_loc35{36const char *start,*end;37};3839union token_value { long val; };4041int pari_lex(union token_value *yylval, struct node_loc *yylloc, char **lex);42int pari_parse(char **lex);43entree* fetch_entry_raw(const char *s, long len);44entree* fetch_entry(const char *s);45void optimizenode(long n);46void push_frame(GEN C, long lpc, long flag);47GEN gp_closure(long n);48long eval_mnemonic(GEN str, const char *tmplate);4950ENDEXTERN515253