Restore to a stage where it works and is easier to manage (#5)

Everything in the parser that needs to be normed is in a single .c + .h file
(also there is the scanner.c file)
This commit is contained in:
Maix0 2024-05-01 17:35:42 +02:00 committed by GitHub
parent dc2358a320
commit cc8567f434
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
61 changed files with 14052 additions and 15081 deletions

25
flake.nix Normal file
View file

@ -0,0 +1,25 @@
{
description = "Flake utils demo";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.generic_c.url = "github:Maix0/generic_c";
outputs = {
self,
nixpkgs,
flake-utils,
generic_c,
}:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShell = pkgs.mkShell {
packages = with pkgs; [clang valgrind gnumake readline.out readline.dev generic_c.packages.${system}.default];
shellHook = ''
alias 'valgrind'='valgrind --supressions=${./valgrind_readline_leaks_ignore.txt}';
'';
};
}
);
}