Commit graph

199 commits

Author SHA1 Message Date
Schrottkatze f7b61f9e0e
lang: start working on parser that parses to events 2024-04-12 15:43:34 +02:00
Schrottkatze 2d59a7f560
lang: start implementing parser combinators (i have no idea what i'm doing)
also, the current test.owo crashes for some reason. this is a headache.
manual/imperative parsers are a nightmare.
2024-04-12 01:02:07 +02:00
Schrottkatze 9da157ff4a
lang: massive amounts of parser and ast pain 2024-04-11 03:23:03 +02:00
Schrottkatze 881a987b2f
flake.lock: Update
Flake lock file updates:

• Updated input 'devenv':
    'github:cachix/devenv/18ef9849d1ecac7a9a7920eb4f2e4adcf67a8c3a' (2024-01-09)
  → 'github:cachix/devenv/a71323c618664a6b7a39bc183b0ce22ac8511cf9' (2024-04-08)
• Added input 'devenv/cachix':
    'github:cachix/cachix/661bbb7f8b55722a0406456b15267b5426a3bda6' (2024-03-15)
• Added input 'devenv/cachix/devenv':
    'github:cachix/devenv/2ee4450b0f4b95a1b90f2eb5ffea98b90e48c196' (2024-02-23)
• Added input 'devenv/cachix/devenv/flake-compat':
    follows 'devenv/cachix/flake-compat'
• Added input 'devenv/cachix/devenv/nix':
    'github:domenkozar/nix/ecd0af0c1f56de32cbad14daa1d82a132bf298f8' (2024-02-22)
• Added input 'devenv/cachix/devenv/nix/flake-compat':
    'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
• Added input 'devenv/cachix/devenv/nix/nixpkgs':
    follows 'devenv/cachix/devenv/nixpkgs'
• Added input 'devenv/cachix/devenv/nix/nixpkgs-regression':
    'github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2' (2022-01-24)
• Added input 'devenv/cachix/devenv/nixpkgs':
    'github:NixOS/nixpkgs/9201b5ff357e781bf014d0330d18555695df7ba8' (2023-08-23)
• Added input 'devenv/cachix/devenv/poetry2nix':
    'github:nix-community/poetry2nix/d5006be9c2c2417dafb2e2e5034d83fabd207ee3' (2023-08-24)
• Added input 'devenv/cachix/devenv/poetry2nix/flake-utils':
    'github:numtide/flake-utils/919d646de7be200f3bf08cb76ae1f09402b6f9b4' (2023-07-11)
• Added input 'devenv/cachix/devenv/poetry2nix/flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Added input 'devenv/cachix/devenv/poetry2nix/nix-github-actions':
    'github:nix-community/nix-github-actions/165b1650b753316aa7f1787f3005a8d2da0f5301' (2023-07-09)
• Added input 'devenv/cachix/devenv/poetry2nix/nix-github-actions/nixpkgs':
    follows 'devenv/cachix/devenv/poetry2nix/nixpkgs'
• Added input 'devenv/cachix/devenv/poetry2nix/nixpkgs':
    follows 'devenv/cachix/devenv/nixpkgs'
• Added input 'devenv/cachix/devenv/pre-commit-hooks':
    follows 'devenv/cachix/pre-commit-hooks'
• Added input 'devenv/cachix/flake-compat':
    'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04)
• Added input 'devenv/cachix/nixpkgs':
    follows 'devenv/nixpkgs'
• Added input 'devenv/cachix/pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431' (2024-02-15)
• Added input 'devenv/cachix/pre-commit-hooks/flake-compat':
    'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04)
• Added input 'devenv/cachix/pre-commit-hooks/flake-utils':
    'github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725' (2023-12-04)
• Added input 'devenv/cachix/pre-commit-hooks/flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Added input 'devenv/cachix/pre-commit-hooks/gitignore':
    'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5' (2023-12-29)
• Added input 'devenv/cachix/pre-commit-hooks/gitignore/nixpkgs':
    follows 'devenv/cachix/pre-commit-hooks/nixpkgs'
• Added input 'devenv/cachix/pre-commit-hooks/nixpkgs':
    follows 'devenv/cachix/nixpkgs'
• Added input 'devenv/cachix/pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/3dc440faeee9e889fe2d1b4d25ad0f430d449356' (2024-01-10)
• Updated input 'devenv/flake-compat':
    'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
  → 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04)
• Updated input 'devenv/nix':
    'github:domenkozar/nix/7c91803598ffbcfe4a55c44ac6d49b2cf07a527f' (2023-02-16)
  → 'github:domenkozar/nix/c5bbf14ecbd692eeabf4184cc8d50f79c2446549' (2024-03-15)
• Added input 'devenv/nix/flake-compat':
    'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
• Removed input 'devenv/nix/lowdown-src'
• Updated input 'devenv/nixpkgs':
    'github:NixOS/nixpkgs/126f49a01de5b7e35a43fd43f891ecf6d3a51459' (2023-03-15)
  → 'github:cachix/devenv-nixpkgs/829e73affeadfb4198a7105cbe3a03153d13edc9' (2024-03-12)
• Updated input 'devenv/pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/ea96f0c05924341c551a797aaba8126334c505d2' (2024-01-08)
  → 'github:cachix/pre-commit-hooks.nix/e35aed5fda3cc79f88ed7f1795021e559582093a' (2024-04-02)
• Updated input 'devenv/pre-commit-hooks/flake-utils':
    'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31)
  → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
• Updated input 'devenv/pre-commit-hooks/gitignore':
    'github:hercules-ci/gitignore.nix/a20de23b925fd8264fd7fad6454652e142fd7f73' (2022-08-14)
  → 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394' (2024-02-28)
• Updated input 'devenv/pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/c37ca420157f4abc31e26f436c1145f8951ff373' (2023-06-03)
  → 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3' (2024-03-17)
• Updated input 'fenix':
    'github:nix-community/fenix/93e89638c15512db65e931f26ce36edf8cfbb4a5' (2024-01-10)
  → 'github:nix-community/fenix/99c6241db5ca5363c05c8f4acbdf3a4e8fc42844' (2024-04-06)
• Updated input 'fenix/nixpkgs':
    'github:nixos/nixpkgs/46ae0210ce163b3cba6c7da08840c1d63de9c701' (2024-01-06)
  → 'github:nixos/nixpkgs/fd281bd6b7d3e32ddfa399853946f782553163b5' (2024-04-03)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/ae6e73772432cfe35bb0ff6de6fdcfa908642b67' (2024-01-09)
  → 'github:rust-lang/rust-analyzer/8e581ac348e223488622f4d3003cb2bd412bf27e' (2024-04-03)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/317484b1ead87b9c1b8ac5261a8d2dd748a0492d' (2024-01-08)
  → 'github:NixOS/nixpkgs/ff0dbd94265ac470dda06a657d5fe49de93b4599' (2024-04-06)
2024-04-08 23:27:56 +02:00
Schrottkatze bfd4b3765f
lang: state with confusing error 2024-04-08 15:43:42 +02:00
Schrottkatze 198c74c7ae
lang: make attrset delims braces 2024-04-08 14:04:52 +02:00
Schrottkatze 8d7401531e
lang: some small, unfinished stuff 2024-04-07 01:04:02 +02:00
Schrottkatze b6e304fa78
lang: rework ast structure 2024-04-07 00:55:12 +02:00
Schrottkatze ace69b0094
svg-filters: format matrices in complex test 2024-04-03 20:08:33 +02:00
Schrottkatze 84448af714
lang: funky basic error reporting stuff 2024-04-03 17:00:20 +02:00
Schrottkatze ae60db7721
lang: extract tests into file 2024-04-03 00:30:11 +02:00
Schrottkatze de008263ca
lang: add test 2024-04-03 00:28:45 +02:00
Schrottkatze ca84af4e1b
lang: basic parser 2024-04-03 00:08:00 +02:00
Schrottkatze ae86ae29ab
svg-filters: more testssss 2024-03-24 17:07:35 +01:00
Schrottkatze 02c5e9e159
svg-filters: figured out flood not working in local test env 2024-03-24 16:11:07 +01:00
Schrottkatze 0197df5ee2
svg-filters: add turbulence and displacement map 2024-03-24 15:49:41 +01:00
Schrottkatze 919a3bb377
svg-filters: seperate out abstractions and add flood abstraction 2024-03-22 16:47:21 +01:00
Schrottkatze 9ae8c2fbd3
svg-filters: add nice abstractions for component transfer 2024-03-22 16:24:04 +01:00
Schrottkatze 9727ef82ca
svg-filters: implement feComponentTransfer rendering 2024-03-22 16:05:36 +01:00
Schrottkatze c31a158d9b
svg-filters: rework macro slightly 2024-03-20 19:11:42 +01:00
Schrottkatze aeeee54200
svg-filters: new conditional attrs macro 2024-03-19 18:43:30 +01:00
Schrottkatze dc7d76dc26
svg-filters: create gen_attr and gen_attrs convenience macros 2024-03-19 15:47:09 +01:00
Schrottkatze e17fffb66b
svg-filters: blend node 2024-03-19 15:15:36 +01:00
Schrottkatze f59062cf88
svg-filters: cleanup 2024-03-17 00:51:20 +01:00
Schrottkatze 384fef5a81
svg-filters(primitives): start with feComponentTransfer 2024-03-17 00:50:51 +01:00
Schrottkatze 77bcb54b5e
svg-filters(tests): start 2024-03-17 00:50:16 +01:00
Schrottkatze d87033d320
svg-filters(codegen): add pretty and ugly printing 2024-03-17 00:49:53 +01:00
Schrottkatze bf60bdd814
svg-filters: simplify and refactor a bit 2024-03-16 23:57:09 +01:00
Schrottkatze 5368951254
svg-filters: rework codegen 2024-03-16 20:52:45 +01:00
Schrottkatze a42ec014e5
svg-filters: get svg generation working!!!! 2024-03-16 00:35:23 +01:00
Schrottkatze 01b1880089
svg-filters: get bare basic xml generation going 2024-03-15 22:45:28 +01:00
Schrottkatze 56848a1b05
svg-filters: add basic graph and stuffs 2024-03-15 19:52:40 +01:00
Schrottkatze 69f0baf425
svg-filters: init 2024-03-15 16:44:47 +01:00
Schrottkatze 98850ee1e9
lang: lexer 2024-03-08 12:34:09 +01:00
Schrottkatze d79383a7df
cleanup: remove unneeded source format in read instruction
The image crate is able to infer the format, so that data is redundant
2024-01-23 12:40:25 +01:00
MultisampledNight 10886be00a
docs(design): add term list 2024-01-21 22:11:41 +01:00
MultisampledNight 63d7993940
chore: remove confusing comment 2024-01-21 21:28:35 +01:00
MultisampledNight bbde1c84ca
chore: move error handling todos from msgs into comments 2024-01-21 21:08:27 +01:00
MultisampledNight 98f4a6cdeb
chore: use to_owned instead of to_string 2024-01-21 21:00:36 +01:00
MultisampledNight 1df57eba6b
chore: remove accidental whitespace at end of line 2024-01-21 04:23:53 +01:00
MultisampledNight 3e208335c3
feat: get full evaluation back online
Very hacky, but this is enough to be finished with the graph IR for now.
2024-01-21 04:21:33 +01:00
MultisampledNight 3c529c3a1a
chore: rename executor -> evaluator and integrate into app 2024-01-21 03:22:46 +01:00
MultisampledNight de9ca81b65
chore: appease clippy 2024-01-20 21:47:33 +01:00
MultisampledNight c4207af8da
repo: rename executor -> eval 2024-01-20 21:36:40 +01:00
MultisampledNight 23fadce867
fix: glue with app from #7 2024-01-20 21:32:25 +01:00
MultisampledNight 98c9399ee4
feat: nicer debug repr for instr id and socketidx 2024-01-20 21:13:11 +01:00
MultisampledNight 8b6f9810df
docs(ir): clarify localness of socketidx 2024-01-20 21:13:11 +01:00
MultisampledNight cdf42417da
refactor(ir): use u64 directly instead of spans for instructions 2024-01-20 21:13:11 +01:00
MultisampledNight 87343f0a38
meta: add license 2024-01-20 21:13:11 +01:00
MultisampledNight 5a209ab5af
docs: fix typo 2024-01-20 21:13:11 +01:00