summaryrefslogtreecommitdiff
path: root/.gitignore (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Node.js -> GoEuAndreh2024-03-251-4/+3
|
* tests/rand.mjs: Add MersenneTwister random number generatorEuAndreh2024-03-201-0/+2
| | | | | | The `tests/rand.c` is also added: a simplified adaptation of the original algorithm implementation in C. A 10k numbers test case shows that the JavaScript version behaves the same that the C one does.
* tests/js/hero.mjs: Better names for pipes and sockets created by testsEuAndreh2024-03-071-1/+1
|
* src/hero.mjs: Add rmIf() and mkfifo()EuAndreh2024-03-061-0/+1
|
* Big cleanupEuAndreh2024-02-231-15/+0
| | | | | | - delete all SQLite Node-API code: we'll use the C++ one instead; - implement hero.mjs, with tests! - use ESM all over.
* Add support for multi-file C projectEuAndreh2023-11-151-1/+12
| | | | | | - have dynamic discovered dependencies via `mkdeps.hs`, and also move the listing of JavaScript files to it. - copy over stub C files for setting up the project skeleton.
* src/napi-sqlite.c: Add Node-API PoCEuAndreh2023-11-131-0/+2
|
* src/{ircd,web}.js: Init stub serversEuAndreh2023-11-111-0/+1
|
* .gitignore: Exclude the generated .3js fileEuAndreh2023-11-101-0/+1
|
* tests/assert-install.sh: Always to enforce correct installationEuAndreh2023-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also in this change: - now we call ln(1) in the "install" target without using the -r "relative" flag, as it isn't POSIX; - add `+` as a prefix to the "assert-tests" command, so we tell sub-make calls to also run things in parallel. In this case, the "make DESTDIR=... install" calls; - use the implicit `index.js` entrypoint and do away completly with `package.json`; - change from `import` to `require` as Node.js ESM modules don't support `$NODE_PATH`[0]: "NODE_PATH is not part of resolving import specifiers. Please use symlinks if this behavior is desired." 🤦; The parallel sub-make behaviour isn't available in current specification of make (POSIX issue 7) but is included in the upcoming[1] version 8: > If a rule invokes a sub-make either via the MAKE macro or via a > command line that begins with '+', the sub-make is the same > implementation as the make that invoked the sub-make, and the −j > option is passed to the sub-make via the MAKEFLAGS environment > variable with the same maxjobs value and is not overridden by a > maxjobs value from another source (even if it has the same value), the > sub-make shall use the same token pool as its invoking make rather > than create a new token pool. [0]: https://nodejs.org/api/esm.html#no-node_path [1]: https://www.opengroup.org/austin/restricted/202x-d3/202x_d3.pdf
* Initial project structureEuAndreh2023-11-091-0/+1