Skip to content

Instantly share code, notes, and snippets.

@tueda
Last active October 14, 2025 11:26
Show Gist options
  • Select an option

  • Save tueda/f938bdf6f09d210ee0d27bcdb9ab10fa to your computer and use it in GitHub Desktop.

Select an option

Save tueda/f938bdf6f09d210ee0d27bcdb9ab10fa to your computer and use it in GitHub Desktop.
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.json]
indent_size = 4
indent_style = space
{
"configurations": [
{
"name": "form"
},
{
"name": "vorm",
"defines": [
"${default}",
"DEBUGGING"
]
},
{
"name": "tform",
"defines": [
"${default}",
"WITHPTHREADS"
]
},
{
"name": "tvorm",
"defines": [
"${default}",
"WITHPTHREADS",
"DEBUGGING"
]
},
{
"name": "parform",
"defines": [
"${default}",
"WITHMPI",
"PF_WITHGETENV",
"PF_WITHLOG"
]
},
{
"name": "parvorm",
"defines": [
"${default}",
"PF_WITHGETENV",
"PF_WITHLOG",
"DEBUGGING"
]
}
],
"version": 4,
"enableConfigurationSquiggles": true
}
{
"version": "0.2",
"language": "en-GB",
"allowCompoundWords": true,
"words": [
"__cplusplus",
"AddCoef",
"AGMFUNCTION",
"ARGTOARG",
"ARLTOARL",
"ATENDOFMODULE",
"autoreconf",
"auxjjm",
"auxjm",
"auxr_",
"BHEAD",
"boomlijst",
"BUCKETTOBERELEASED",
"BUILTINDOLLARS",
"CanCommu",
"CBUF",
"CDELETE",
"CDELTA",
"CDOLLAR",
"CDUBIOUS",
"CEXPRESSION",
"CFLAGS",
"CFUN",
"CFUNCTION",
"chainin",
"CINDEX",
"Civita",
"clearcbuf",
"ClearfFloat",
"CNUMBER",
"Cnumlhs",
"COEFFI",
"color",
"compactify",
"CompCoef",
"ComprTop",
"CPPFLAGS",
"cprocedureExtension",
"CSYMBOL",
"CXXFLAGS",
"daemonization",
"ddterms",
"DEDUPARG",
"DESY",
"DetCommu",
"DICT_DOSPECIALS",
"DICT_INDOLLARS",
"DICT_NOTINDOLLARS",
"DISTHOOK_VERSION",
"DO_UFFLE",
"DoArgPlode",
"DoesCommu",
"DoIfydef",
"DoinParallel",
"DOLARGUMENT",
"DOLINDEX",
"DOLNUMBER",
"DOLOOP",
"dolooplevel",
"doloopnest",
"DOLSUBTERM",
"DOLUNDEFINED",
"DOLWILDARGS",
"DOLZERO",
"DonotinParallel",
"DOONEEXPRESSION",
"DoShtuffle",
"DOTPBIT",
"DROPGEXPRESSION",
"DROPHGEXPRESSION",
"DROPHLEXPRESSION",
"DUBIOUSV",
"DUMFUN",
"dumnumflag",
"DUMPINTERMS",
"DUMPTOPARALLEL",
"ebufnum",
"EESYMBOL",
"EMPTYININDEX",
"EMSYMBOL",
"enddo",
"ENDOFINPUT",
"Eside",
"EXCHN",
"EXECUTINGIF",
"FindrNumber",
"finishcbuf",
"finishuf",
"fpcompressed",
"fpincompressed",
"FROMBRAC",
"FUNTOFUN",
"GAMMAI",
"GETCOEF",
"gextrasymbols",
"GFIVE",
"gfunpowers",
"ggextrasymbols",
"ggnumextrasym",
"GMINUS",
"gnumelements",
"gnumextrasym",
"GPLUS",
"GRCC_MAXFLINES",
"GRCC_MAXMPARTICLES",
"GRCC_MAXMPARTICLES2",
"GRCC_MAXPSLIST",
"GRCC_OPT_Outgrf",
"GRCC_OPT_SymmFinal",
"GRCC_OPT_SymmInitial",
"GRCC_QGRAF_OPT_CYCLI",
"GRCC_QGRAF_OPT_NOSIGMA",
"GRCC_QGRAF_OPT_NOSNAIL",
"GRCC_QGRAF_OPT_NOTADPOLE",
"GRCC",
"grccmodel",
"greedymaxperc",
"HAAKJE",
"HIDE_UNDOC_MEMBERS",
"HIDEGEXPRESSION",
"hparallelflag",
"HTOZARG",
"identityofthreads",
"IFDOLLAR",
"IFDOLLAREXTRA",
"IFISFACTORIZED",
"ifnomatch",
"indi1",
"indi2",
"INDTOIND",
"INDTOSUB",
"inicbufs",
"inictable",
"iniwranf",
"inparallelflag",
"inprimelist",
"INTOHIDEGEXPRESSION",
"iranf",
"ISCOMPRESSED",
"ISFACTORIZED",
"ISFORTRAN90",
"ISGEPOS",
"ISGEPOSINC",
"ISLYNDON",
"ISLYNDONR",
"ISNOTFORTRAN90",
"ISNOTZEROPOS",
"ISPOSPOS",
"ISUNMODIFIED",
"ISZERO",
"Kaneko",
"KEYWORDV",
"LDFLAGS",
"LEVICIVITA",
"lhdollarerror",
"lhdollarflag",
"LHSIDE",
"LHSIDEX",
"lijst",
"listofavailables",
"LNFUNCTION",
"LPARENTHESIS",
"LRPARENTHESES",
"m4_bregexp",
"m4_esyscmd_s",
"m4_esyscmd",
"m4_ifndef",
"Mathematica",
"MATHEMATICAMODE",
"MAXENAME",
"MAXFLEVELS",
"MAXFPATCHES",
"MAXIF",
"MAXINNAMETREE",
"MAXNCPLG",
"maxnlegs",
"MAXNUMBEROFNONCOMTERMS",
"MAXWILDC",
"MCTS",
"mctsconstant",
"mctsdecaymode",
"MCTSEXPANDTREE",
"mctsnumexpand",
"mctsnumkeep",
"mctsnumrepeat",
"mctstimelimit",
"MINIMUMNUMBEROFTERMS",
"Misha",
"mnumlhs",
"mnumrhs",
"Moebius",
"moebiustable",
"moebiustablesize",
"mparallelflag",
"mpfaux_",
"mpfdelta1",
"MPFR",
"mpftab1",
"mpftab2",
"mpiexec",
"mpirun",
"Mully",
"ncmod",
"NCOPY",
"NCOPYB",
"NCOPYI",
"ncouplings",
"NestPoin",
"Nikhef",
"nindices",
"ninterms",
"nlegs",
"NOFUNPOWERS",
"NOINVERSES",
"NOLYNDON",
"NOPARALLEL",
"NoScrat2",
"NOSNAILS",
"NOTADPOLES",
"numberofindexblocks",
"numberofsortbots",
"numberofterms",
"numberofthreads",
"numberofthreadslock",
"numberofworkers",
"numdollars",
"numdum",
"NUMFACS",
"numfunnies",
"numinprimelist",
"numlegs",
"numrbufs",
"NUMTOIND",
"NUMTOSYM",
"numxsymbol",
"nvertices",
"NwildC",
"O_CSEGREEDY",
"O_FORWARDORBACKWARD",
"oldcbuf",
"oldnumpotmoddollars",
"Olduflags",
"OMPI_SKIP_MPICXX",
"ONEPI",
"onfile",
"Opteron",
"optimtimes",
"outtohide",
"parvorm",
"PERMP",
"PFORTRANMODE",
"PoinFill",
"PRENOACTION",
"PRETYPEDO",
"PRETYPEIF",
"PRINTLFILE",
"PRINTON",
"pthreads",
"PVFUNV",
"PVFUNWP",
"QGRAF",
"RaisPow",
"rbufs",
"RCYCLESYMMETRIC",
"ReadijObject",
"REDLENG",
"reken",
"ResizeNCWORD",
"RHSIDE",
"RLONG",
"RPARENTHESIS",
"RunDedup",
"RWLOCKR",
"RWLOCKW",
"ScratSize",
"setexterntopo",
"setinterntopo",
"setOutgrf",
"SETTONUM",
"SFHSIZE",
"SHcombi",
"SHcombisize",
"SIZEFACS",
"SKIPGEXPRESSION",
"SKIPUNHIDEGEXPRESSION",
"SmallEsize",
"SMAXFPATCHES",
"SNUMBER",
"SSORTIOSIZE",
"stuffle",
"SUMF1",
"SUMF2",
"SUMMEDIND",
"SYMTONUM",
"SYMTOSUB",
"SYMTOSYM",
"TCONJUGATE",
"TDELTA",
"TDIVIDE",
"TDOLLAR",
"TDUBIOUS",
"TENDOFIT",
"Tentukov",
"Tentyukov",
"TFORM",
"TFUN",
"TFUNCLOSE",
"TFUNCTION",
"TFUNOPEN",
"TGENINDEX",
"ThreadScratOutSize",
"TINDEX",
"TMINUS",
"TMULTIPLY",
"TNUMBER",
"TOBEFACTORED",
"TOBEUNFACTORED",
"TOLONG",
"TOLYNDON",
"TOLYNDONR",
"TOPO",
"topofavailables",
"TOPOLYNOMIALFLAG",
"TORAT",
"totalnumberofthreads",
"totnum",
"TPLUS",
"TPOWER",
"TRACEN",
"TraceNgen",
"TransEname",
"TSETDOL",
"TSGAMMA",
"TSYMBOL",
"TVECTOR",
"tvorm",
"TWILDARG",
"TYPEDETCURDUM",
"TYPEDOLOOP",
"TYPEENDDOLOOP",
"TYPEFPRINT",
"TYPEIF",
"TYPEINEXPRESSION",
"TYPEISFUN",
"TYPEISMYSTERY",
"TYPEISSUB",
"TYPESTUFFLE",
"TYPETOPOLYNOMIAL",
"TYPETORAT",
"TYPETOSPECTATOR",
"unfactorize",
"UNHIDEGEXPRESSION",
"UNHIDELEXPRESSION",
"UNRWLOCK",
"UWORD",
"V2Ileg",
"VARTYPEROOTOFUNITY",
"VECTBIT",
"VECTOMIN",
"VECTOSUB",
"VECTOVEC",
"Vermaseren",
"vorm",
"VORTRANMODE",
"WCOPY",
"WITHMPI",
"WITHONEPI",
"WITHZSTD",
"wranf",
"wranfcall",
"wranfia",
"wranfnpair1",
"wranfnpair2",
"wranfseed",
"WriteUnfinString",
"wsizeof",
"xsymbol",
"zbufnum",
"Zeuthen",
"ziobuffer",
"ziosize",
"zsparray",
"zstd",
"ZTOHARG",
],
"overrides": [
{
"filename": "sources/grcc.cc",
"words": [
"addArtic",
"adjmat",
"aelegs",
"agraph",
"agrcount",
"aparticle",
"argag",
"argemg",
"argmg",
"articuls",
"bicol",
"bicount",
"bidef",
"bidef",
"biinitE",
"bilow",
"bipart",
"bisearchME",
"blksp",
"blkstk",
"blkstkptr",
"blkt",
"cdeg",
"cDiag",
"cgen",
"chkMomConsv",
"cldeg",
"clmat",
"clnum",
"clord",
"clst",
"cltyp",
"CLWIGHTD",
"CLWIGHTO",
"cmaxd",
"cmaxdeg",
"cmind",
"cnlist",
"cple",
"cplgcp",
"cplglg",
"cplgnvl",
"cplgvl",
"csav",
"ctloop",
"ctyp",
"curcl",
"defaultv",
"dega",
"eclass",
"econn",
"edgen",
"EDGEPORDER",
"edlg",
"edtype",
"edup",
"edupv",
"egraph",
"egrph",
"emom",
"endmg",
"eplist",
"erearg",
"esize",
"esum",
"esym",
"extj",
"extk",
"extMomConsv",
"exto",
"fgcnt",
"freelg",
"iinp",
"ilegs",
"ilst",
"intrct",
"itlist",
"jdir",
"jgho",
"jmaj",
"klow",
"lastlg",
"lastv",
"lmom",
"loopm",
"lsum",
"mclss",
"mdlfn",
"mdlfp",
"mgraph",
"minopi2p",
"modl",
"momdir",
"momj",
"momk",
"momset",
"mopi",
"multp",
"mwopi",
"mwsum",
"mxdeg",
"nadj2ptv",
"nAOPI",
"nart",
"narticuls",
"nartps",
"nbacked",
"nblksp",
"nbridges",
"nccl",
"nclist",
"nclss",
"ncouple",
"ncplgcp",
"nctopic",
"ndart",
"ndcl",
"ndeg",
"ndtyp",
"ndtype",
"neblocks",
"neclass",
"nedg",
"NEWOUTPY",
"nextn",
"nextot",
"nfin",
"ngelem",
"ngen",
"ngho",
"ngraphs",
"ngrp",
"nilst",
"nini",
"ninitl",
"nleg",
"nlgs",
"nlpopic",
"nmaj",
"nmedges",
"nmgraphs",
"nMOPI",
"nnod",
"nnods",
"noden",
"nopi",
"nopic",
"nopicomp",
"nopis",
"nopisp",
"npall",
"nplistn",
"nplst",
"npuass",
"nqgopt",
"nrlist",
"nsym",
"nucl",
"nvrt",
"nvtx",
"opicomp",
"opics",
"opiext",
"opiloop",
"opisp",
"opistk",
"opistkptr",
"opit",
"optn",
"outag",
"outgrf",
"outgrfp",
"outgrpp",
"outmg",
"pdass",
"permg",
"pgtypenames",
"pinp",
"plistc",
"plistn",
"plst",
"pnclass",
"prlevel",
"prmsg",
"proct0",
"proct1",
"prtcl",
"ptcl",
"ptypec",
"ptypen",
"puass",
"qgopt",
"qgref",
"reord",
"reordLeg",
"savc0",
"savc1",
"sdeg",
"sgho",
"sortb",
"sorti",
"sprc",
"sptbl",
"subtrSet",
"tcpl0",
"tnvl",
"totalc",
"vclss",
"vdeg",
"vextlp",
"wAOPI",
"wgraphs",
"wMOPI",
"wopi",
"wscon",
"wsopi",
]
},
{
"filename": "sources/grcc.h",
"words": [
"addArtic",
"adjmat",
"aelegs",
"agraph",
"agrcount",
"aparticle",
"argag",
"argemg",
"argmg",
"articuls",
"awopi",
"awsum",
"bicol",
"bicount",
"bidef",
"biinitE",
"bilow",
"bipart",
"bisearchME",
"blksp",
"blkstk",
"blkstkptr",
"cdeg",
"cDiag",
"cgen",
"chkMomConsv",
"cldeg",
"clexl",
"clmat",
"clnum",
"clord",
"clst",
"cmaxd",
"cmaxdeg",
"cmind",
"cnlist",
"cplgcp",
"cplglg",
"cplgnvl",
"cplgvl",
"csav",
"ctloop",
"ctyp",
"curcl",
"dega",
"eblk",
"eclass",
"econn",
"edgen",
"edtype",
"egraph",
"egrph",
"emom",
"endmg",
"esym",
"extMomConsv",
"extn",
"freelg",
"grccparam.h",
"iinp",
"ilst",
"intrct",
"klow",
"lastlg",
"lastv",
"lmom",
"loopm",
"mgraph",
"modl",
"momdir",
"momset",
"mopi",
"multp",
"mwopi",
"mwsum",
"mxdeg",
"nadj2ptv",
"nagraphs",
"nAOPI",
"nart",
"narticuls",
"nartps",
"nbacked",
"nblksp",
"nbridges",
"nclist",
"nclss",
"ncouple",
"ncplgcp",
"nctopic",
"ndcl",
"ndtp",
"ndtype",
"neblocks",
"neclass",
"nedg",
"nelm",
"nextot",
"nfin",
"ngen",
"ngraphs",
"nilst",
"ninitl",
"nlgs",
"nlpopic",
"nmedges",
"nmgraphs",
"nMOPI",
"nnod",
"nnods",
"noden",
"nopi",
"nopic",
"nopicomp",
"nopisp",
"nplst",
"npuass",
"nqgopt",
"nsym",
"opicomp",
"opics",
"opiext",
"opiloop",
"opisp",
"opistk",
"opistkptr",
"optn",
"outag",
"outgrf",
"outgrfp",
"outgrpp",
"outmg",
"pdass",
"permg",
"pinp",
"plst",
"pnclass",
"ptcl",
"puass",
"qgopt",
"qgref",
"reord",
"reordLeg",
"sdeg",
"sprc",
"sptbl",
"totalc",
"wAOPI",
"wgraphs",
"wMOPI",
"wopi",
"wscon",
"wsopi",
]
},
{
"filename": "sources/grccparam.h",
"words": [
"agraph",
"cdeg",
"cldeg",
"clnum",
"cltyp",
"cmaxd",
"cmind",
"coupl",
"cple",
"ctyp",
"defaultv",
"eind",
"finaln",
"initlc",
"initln",
"intrct",
"mgraph",
"ncouple",
"ninitl",
"nplistn",
"plistc",
"plistn",
"ptcl",
"ptypec",
"ptypen",
"sind",
]
}
]
}
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) vorm test.frm",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/sources/vorm",
"args": [
"test.frm"
],
"cwd": "${workspaceFolder}",
"environment": [],
"stopAtEntry": false,
"externalConsole": false,
"MIMode": "gdb",
"preLaunchTask": "make-vorm",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
},
{
"name": "(gdb) tvorm -w4 test.frm",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/sources/tvorm",
"args": [
"-w4",
"test.frm"
],
"cwd": "${workspaceFolder}",
"environment": [],
"stopAtEntry": false,
"externalConsole": false,
"MIMode": "gdb",
"preLaunchTask": "make-tvorm",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
}
]
}
{
// Basic Editor Settings
"editor.defaultFormatter": null,
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.formatOnType": false,
"files.eol": "\n",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": false,
// Folding
"editor.foldingStrategy": "auto",
"editor.defaultFoldingRangeProvider": null,
"[c]": {
"editor.defaultFoldingRangeProvider": "zokugun.explicit-folding",
"explicitFolding.rules": [
{
"begin": "#[",
"end": "#]"
},
{
"beginRegex": "#if(?:n?def)?",
"middleRegex": "#el(?:se|if)",
"endRegex": "#endif"
}
]
},
"[cpp]": {
"editor.defaultFoldingRangeProvider": "zokugun.explicit-folding",
"explicitFolding.rules": [
{
"begin": "#[",
"end": "#]"
},
{
"beginRegex": "#if(?:n?def)?",
"middleRegex": "#el(?:se|if)",
"endRegex": "#endif"
}
]
},
"[form]": {
"editor.defaultFoldingRangeProvider": "zokugun.explicit-folding",
"explicitFolding.rules": [
{
"begin": "#[",
"end": "#]"
}
]
},
// C/C++
"C_Cpp.default.includePath": [
"${workspaceFolder}/build",
"${workspaceFolder}/build/sources",
"${workspaceFolder}/extern/zstd/zlibWrapper"
],
"C_Cpp.default.defines": [
"_POSIX_C_SOURCE=200809L",
"HAVE_CONFIG_H"
],
// FORM
"files.associations": {
"*.h": "c"
},
// Spell Checker
"cSpell.maxNumberOfProblems": 1000,
"cSpell.enabledFileTypes": {
"automake": true,
"c": true,
"cpp": true,
"form": true,
"github-actions-workflow": true,
"json": true,
"m4": true,
"markdown": true,
"ruby": true,
"yaml": true
}
}
{
"version": "2.0.0",
"tasks": [
{
"label": "make-vorm",
"type": "shell",
"command": "make -j $(nproc) vorm",
"options": {
"cwd": "${workspaceFolder}/build/sources"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "make-tvorm",
"type": "shell",
"command": "make -j $(nproc) tvorm",
"options": {
"cwd": "${workspaceFolder}/build/sources"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment