Commit Graph

  • 352d2e6208 debug wip dev George Thomas 2026-04-14 01:31:27 +01:00
  • cf9e36e9df bump to hs-bindgen and libclang to latest... George Thomas 2026-04-14 01:11:16 +01:00
  • e20348c2b3 file dependency reload stuff George Thomas 2026-04-14 01:03:57 +01:00
  • 5dd82fabc3 basic enum example George Thomas 2026-04-14 00:42:17 +01:00
  • d3cb3a837c Use lambdas in all wrappers for consistency George Thomas 2026-04-14 00:42:05 +01:00
  • 17bab88e83 Add maybe/optional example George Thomas 2026-03-25 01:57:56 +00:00
  • e547c65244 Add vector/slice example George Thomas 2026-03-25 01:09:10 +00:00
  • f83784592e Remove unnecessary Rust unit return type annotations George Thomas 2026-04-13 22:46:02 +01:00
  • 4c9da46f22 Pass all non-primitive types by (immutable) reference George Thomas 2026-03-25 01:01:22 +00:00
  • e949c49f1d Deduplicate base dependency George Thomas 2026-03-25 00:29:30 +00:00
  • 5b37b69c5b Get Rust Analyzer from overlay instead of directly from Nixpkgs George Thomas 2026-04-13 18:48:17 +01:00
  • 7c011719aa Reformat George Thomas 2026-04-13 23:23:09 +01:00
  • 1546ee152c Remove unnecessary library linking George Thomas 2026-04-14 00:10:48 +01:00
  • ef6e8b9605 Specify include directories via environment variable George Thomas 2026-04-13 23:22:46 +01:00
  • 8d4f9c7ca0 Minor refactor to avoid long line George Thomas 2026-04-14 00:24:07 +01:00
  • ccdf4a9bce Combine overrides George Thomas 2026-04-14 00:06:26 +01:00
  • e0adce3802 Inline project Nix file George Thomas 2026-04-13 23:44:00 +01:00
  • 18a8b04537 Remove unused binding George Thomas 2026-04-13 23:41:30 +01:00
  • f7d5a8df0a Simplify build script George Thomas 2026-03-24 23:02:06 +00:00
  • b6a3b56f7f Bump hs-bindgen to avoid header patching hack George Thomas 2026-03-18 11:25:15 +00:00
  • fd8baf949f stuff from Yuri George Thomas 2026-03-25 12:36:52 +00:00
  • dd7bea6efd Build Rust crate with Nix via crane sub-flake ym/nix-haskell yuri.meister 2026-03-25 12:43:36 +09:00
  • c228354a13 Use nix-haskell and provide source-repository-packages to Cabal in shell nix-haskell George Thomas 2026-03-24 16:01:44 +00:00
  • 52f0a49d87 Fix build script to work correctly on clean checkout main George Thomas 2026-03-24 15:28:40 +00:00
  • df1f73eb8a Script the full build George Thomas 2026-03-24 11:23:12 +00:00
  • 6bb06b117f Symlink static lib instead of copying George Thomas 2026-03-24 11:22:41 +00:00
  • 649c1b466f Revert "Ditch Bash script for custom setup" George Thomas 2026-03-24 11:17:31 +00:00
  • b79a4c0804 Ditch Bash script for custom setup George Thomas 2026-03-24 11:17:26 +00:00
  • b68d6257d3 Move bindings generation to Rust build script George Thomas 2026-03-24 11:13:57 +00:00
  • b94e8ef11b Make staged imports consistent George Thomas 2026-03-24 11:24:19 +00:00
  • 4ecd0b16e2 Drop build hooks in favour of just using bundled libraries properly George Thomas 2026-03-03 20:58:41 +00:00
  • ddb9c300cf Switch to Hooks API instead of using cabal configure hack for lib/include dirs George Thomas 2026-02-23 12:04:47 +00:00
  • 19e9aafe71 simple build script wip George Thomas 2026-03-19 11:47:19 +00:00
  • 1b45174f15 follow-up simplification George Thomas 2026-03-18 11:27:38 +00:00
  • e70aac0f1b use upstream fix to avoid header patching hack George Thomas 2026-03-18 11:25:15 +00:00
  • cdada4c9be symlink (plus messy comments) George Thomas 2026-03-18 11:09:20 +00:00
  • c37b013467 Revert "ditch bash script for custom setup" George Thomas 2026-03-03 22:41:14 +00:00
  • 22b6fac5b5 ditch bash script for custom setup George Thomas 2026-03-03 22:17:01 +00:00
  • 927bf229a4 move bindings generation to Rust build script George Thomas 2026-03-03 22:01:39 +00:00
  • beb9e14542 drop hooks in favour of using bundled libraries properly George Thomas 2026-03-03 20:58:41 +00:00
  • ffc59a418b remove cabal configure hack for lib/include dirs George Thomas 2026-02-23 12:04:47 +00:00
  • 718554cb2e Bump hs-bindgen for record-dot support George Thomas 2026-02-23 11:22:11 +00:00
  • a018cc389a Generate header in Rust build output directory George Thomas 2026-02-20 09:53:12 +00:00
  • 5aa0cdc38d try using record dots with TH th-record-dot George Thomas 2026-02-20 09:09:12 +00:00
  • 96ec5c1cb1 Switch to Template Haskell mode for hs-bindgen George Thomas 2026-02-20 09:08:16 +00:00
  • 20b47594c6 Avoid IO for tree sum George Thomas 2026-02-19 21:35:35 +00:00
  • 71e4ffaede Make Rust tree type polymorphic George Thomas 2026-02-19 21:28:00 +00:00
  • 58005ee261 Refactor to use continuation monad George Thomas 2026-02-19 21:18:37 +00:00
  • ca063b1dd6 Rename tree types George Thomas 2026-02-19 21:11:58 +00:00
  • 261acca8a4 Define nicer Rust tree type and coerce George Thomas 2026-02-19 21:11:23 +00:00
  • 55a781eeb8 Add tree example George Thomas 2026-02-19 20:44:04 +00:00
  • 06767e17ea Add newline for consistency George Thomas 2026-02-19 19:37:46 +00:00
  • 2a80e5b219 Minor simplification George Thomas 2026-02-19 16:26:10 +00:00
  • e977181252 Avoid typedefs George Thomas 2026-02-19 16:18:58 +00:00
  • 9ca4f615d8 Use simpler tagged union translation George Thomas 2026-02-19 16:17:29 +00:00
  • 5019af701f Mark pure function George Thomas 2026-02-19 15:56:55 +00:00
  • 5907a064a7 Use fixed-width integers George Thomas 2026-02-19 15:47:55 +00:00
  • 024b6aec87 Implement function with return value George Thomas 2026-02-19 15:26:27 +00:00
  • 40bb939302 Stick to Rust debug builds in shell to avoid C lib dir confusion George Thomas 2026-02-19 15:27:08 +00:00
  • ddc8b9097d Avoid absolute path hack George Thomas 2026-02-19 15:00:46 +00:00
  • 25875c7dc1 Move Haskell package to top level George Thomas 2026-02-19 14:15:14 +00:00
  • 2bab0ff94e Rename Haskell.nix flake input George Thomas 2026-02-19 14:03:24 +00:00
  • 7d90990b74 Bump flake inputs George Thomas 2026-02-19 14:01:15 +00:00
  • 56370bb8a4 Reformat George Thomas 2026-02-19 13:59:19 +00:00
  • b9e2e59174 Refactor Nix flake inputs George Thomas 2026-02-19 13:58:58 +00:00
  • 97a4f1c359 Disable dead code warning for whole Rust file George Thomas 2026-02-19 13:46:54 +00:00
  • d8c12b5418 Call struct function with different arguments George Thomas 2026-02-19 14:09:30 +00:00
  • 0e54cccd74 Create manual high level wrapper George Thomas 2026-02-19 13:44:16 +00:00
  • f1ec06fcca Add Bash script dependencies to Nix shell George Thomas 2026-02-19 12:56:10 +00:00
  • 13b9324bc4 Simplify use sites by passing by value George Thomas 2026-02-19 11:15:38 +00:00
  • 5f1e49c4ce Use ByteString George Thomas 2026-02-19 11:11:54 +00:00
  • 7e09c1d681 Add more complex data types George Thomas 2026-02-19 11:11:23 +00:00
  • 0a1911862f Expose explicit C interface George Thomas 2026-02-19 11:08:20 +00:00
  • 60f5f23b2d Move Haskell executable in to subdirectory George Thomas 2026-02-19 10:57:19 +00:00
  • 400960b0be Remove empty other-modules George Thomas 2026-02-19 10:54:39 +00:00
  • 7bb41f6825 Call Rust from Haskell with cargo-cabal and hs-bindgen George Thomas 2026-02-18 15:49:08 +00:00
  • ff8826d758 Fix authorship info George Thomas 2026-02-19 13:53:18 +00:00
  • 4ed5c5e1ae Simplify .gitignore George Thomas 2026-02-19 13:56:20 +00:00
  • f664efc0e2 Remove stray Git submodule config George Thomas 2026-02-19 13:55:44 +00:00
  • 2640c75baf Format Nix file George Thomas 2026-02-18 14:31:21 +00:00
  • 39283930d5 Initial Patrick Aldis 2026-02-17 14:57:34 +00:00