Testing latest pari + WASM + node.js... and it works?! Wow.
License: GPL3
ubuntu2004
/* Copyright (C) 2021 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. */1314BEGINEXTERN1516#define PARI_DBG_ID(s) DEBUGLEVEL_##s1718#define PARI_DBG_LIST(ID) \19ID(alg), ID(arith), \20ID(bern), ID(bnf), ID(bnr), ID(bnrclassfield), ID(bb_group), \21ID(compiler), \22ID(ell), ID(ellanal), ID(ellcard), ID(ellisogeny), ID(ellrank), \23ID(ellsea), \24ID(factor), ID(factorff), ID(factorint), ID(factormod), ID(fflog), \25ID(galois), ID(gammamellininv), ID(genus2red), \26ID(hensel), ID(hyperell), \27ID(intnum), ID(io), ID(isprime), \28ID(lfun), \29ID(mat), ID(mathnf), ID(mf), ID(mod), ID(mpqs), ID(ms), ID(mt),\30ID(nf), ID(nffactor), ID(nflist), ID(nfsubfields), \31ID(padicfields), ID(pic),\32ID(pol), ID(polclass), ID(polgalois), ID(polmodular), ID(polroots),\33ID(qf), ID(qflll), ID(qfsolve), ID(qfisom), ID(quadclassunit),\34ID(rnf), \35ID(stark), ID(subcyclo), ID(subgrouplist), \36ID(thue), ID(trans), \37ID(zetamult)3839#ifndef PARI_INIT40extern41#endif42ulong PARI_DBG_LIST(PARI_DBG_ID);43#ifdef PARI_INIT44#define PARI_DBG_PTR(s) &DEBUGLEVEL_##s45#define PARI_DBG_STR(s) #s4647ulong * const pari_DEBUGLEVEL_ptr[] = { PARI_DBG_LIST(PARI_DBG_PTR) };4849const char * pari_DEBUGLEVEL_str[] = { PARI_DBG_LIST(PARI_DBG_STR) };50#endif5152ENDEXTERN535455