71 Commits

Author SHA1 Message Date
3175132eec Immutable definitions and documentation updates 2025-01-24 16:14:33 -06:00
88b1c71695 Add size demo 2025-01-23 18:57:59 -06:00
cbf23bc569 Remove Nix caching that can't work due to /nix/store permissions 2025-01-23 17:59:47 -06:00
8b0db2c935 Update README to reflect demo 2025-01-23 17:36:39 -06:00
9dbcde08ca Minify and mark as pre-release 2025-01-23 17:23:02 -06:00
5216cc4e5b Release 0.6.0 2025-01-23 16:44:14 -06:00
10c7cc367d Some special characters in ids; new demos
Adds support for several special characters in identifiers. Adds a demo
for converting values to source code and another for checking equality.
Updates the existing demo and tests to reflect new names for functions
returning booleans.
2025-01-23 15:46:40 -06:00
118062d33c All paths for caching cabal included :) 2025-01-21 17:00:20 -06:00
74bc9a47fc Use runner 0.1.0 2025-01-21 16:49:15 -06:00
08c5b3a74e Update Cabal caching path 2025-01-21 16:48:29 -06:00
3e3e5802fa Drop unreachable cases of updateDepth 2025-01-21 16:16:04 -06:00
83dad2c56b Add more explicit error handling for mismatched groupings 2025-01-21 16:06:10 -06:00
962a100f53 Inline pattern matching in Parser 2025-01-21 14:21:47 -06:00
56f0c2860a CI/CD for tests and builds (broken caching) 2025-01-21 13:29:52 -06:00
aac10d031d Actually readable Level Order Traversal 2025-01-20 20:10:14 -06:00
ec0a6b7b16 Allow multiline expressions 2025-01-20 19:20:29 -06:00
eeaf9e0289 Eliminate redundant eager calls of elimLambda 2025-01-20 16:05:06 -06:00
b385349197 Reduce duplication of elimLambda calls 2025-01-20 15:16:27 -06:00
e6e05b607a General refactor for legibility
Priming to update all source to lhs and document extensively
2025-01-19 14:41:25 -06:00
63aa977efd 0.5.0 release commit 2025-01-06 09:14:04 -06:00
3fec1e0c68 Level Order Traversal demo 2025-01-03 12:00:06 -06:00
66cc5fdd27 Drop parseVarWithoutAssignment
Additionally sorts gitignore and adds attempted decoding of lists back
to the REPL
2025-01-03 10:31:35 -06:00
7d97b85f74 Fix critical list evaluation bug and REPL updates 2025-01-02 19:08:14 -06:00
5523d5acde Use better default output form in evaluator 2025-01-01 19:40:12 -06:00
f478a7d091 Clarify CLI options 2025-01-01 19:32:41 -06:00
03cbadcc54 Support evaluation across multiple source files 2025-01-01 19:27:04 -06:00
8b0b24e7dc Provide "library" via tricu file directly
Allows easier loading of other files and drops the list of Haskell
strings containing the basic tools included
2025-01-01 18:53:56 -06:00
1c8457733e Fixes identifier lexing; support REPL file loading 2025-01-01 18:05:21 -06:00
57f7389c4d Normalize CLI options and help display 2025-01-01 08:34:17 -06:00
3ab9b58194 Rename "compiler" functionality to Evaluator
Allows for stdin input for evaluation when no input file is provided.
2025-01-01 08:23:53 -06:00
bc9064b058 Latest --help in README 2024-12-31 10:09:36 -06:00
d51af676d5 Merge pull request 'Add "SimpleT" t output form' (#9) from feat/new-outputs into main
Reviewed-on: #9
2024-12-31 16:05:38 +00:00
6cec61b98d Merge branch 'main' into feat/new-outputs 2024-12-31 16:04:32 +00:00
4aa8e19ff4 Add "SimpleT" t output form
This new output form allows easy piping to the decode function of the
tricu executable. Includes a new test for roundtrip evaluation of map,
compilation to tree calculus terms, and decoding back to a human
readable string.
2024-12-31 10:00:52 -06:00
13edaa9d5e Merge pull request 'Expands CLI support with output forms and decoding' (#7) from feat/ternary-representation into main
Reviewed-on: #7
2024-12-30 20:24:27 +00:00
7abc7061d9 Expands CLI support with output forms and decoding
Adds CLI options for compiling to a Tree Calculus, AST, Ternary, and
ASCII tree view. Adds CLI command for attempted decoding of a compiled
result to Number/String/List.
2024-12-30 14:22:37 -06:00
78dd2f4d8f Initial ternary representation options
Both parsing and conversion from T to ternary representation supported
2024-12-30 08:30:40 -06:00
9bc0410846 Merge pull request 'Adds "compiler" and CLI argument handling' (#3) from feature/compiler-CLI into main
Reviewed-on: #3
2024-12-30 03:51:59 +00:00
95b1e07dd9 Adds "compiler" and CLI argument handling 2024-12-29 21:49:57 -06:00
c578d780e9 Updates to tests
Uncomments a test for comment parsing behavior and removes a test for
incomplete function definitions.
2024-12-29 21:09:02 -06:00
31106aa285 Merge pull request 'Resolves issue with parsing comments' (#2) from fix/comments-0001 into main
Reviewed-on: #2
2024-12-30 03:03:39 +00:00
bde89125ba Resolves issue with parsing comments 2024-12-29 21:02:38 -06:00
8a2dc2dfcf Additional tests 2024-12-29 12:22:24 -06:00
dbe9cbd6c1 README updates for run/build 2024-12-29 10:41:04 -06:00
4bd2257441 README clarifications 2024-12-29 10:37:37 -06:00
f41c92fa9d Expansion of testing suite to cover incl. library
Expands the testing suite to verify behavior of provided library
functions. Updates the README further for clarification on important
concepts.
2024-12-29 10:28:32 -06:00
7a7ee6886a Rename from sapling to tricu 2024-12-29 08:29:25 -06:00
1e23465bc3 Further README clarification 2024-12-28 22:20:43 -06:00
8b326e8dcf README updates 2024-12-28 21:58:52 -06:00
30c04a84d6 Stop using to/of conventions backwards 2024-12-28 07:24:19 -06:00