java lox scanner implementation

This commit is contained in:
Sebastian Hugentobler 2025-02-06 10:54:21 +01:00
commit dcc1ae8699
20 changed files with 848 additions and 0 deletions

29
java/flake.nix Normal file
View file

@ -0,0 +1,29 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
buildInputs = with pkgs; [
jdk21
jdt-language-server
maven
];
in
{
devShells.default = pkgs.mkShell {
buildInputs = buildInputs;
};
}
);
}