27 Commits

Author SHA1 Message Date
James Eversole
203bc1898d README typo 2025-01-27 16:07:32 -06:00
James Eversole
87aed72ab2 # Modules
All checks were successful
Test, Build, and Release / test (push) Successful in 1m43s
Test, Build, and Release / build (push) Successful in 1m16s
Basic implementation of a module system including tests.
2025-01-27 16:04:04 -06:00
James Eversole
918d929c09 # File eval mode now relies on main function
All checks were successful
Test, Build, and Release / test (push) Successful in 1m26s
Test, Build, and Release / build (push) Successful in 1m15s
To encourage organizing code in a way that helps in understanding, I
have implemented the common idiom of requiring a `main` function. In
tricu and other functional languages, it is usually placed near the top
of the module. The evaluator gracefully handles the situation of passing
multiple files where the intermediary "library" files do not have main functions.
2025-01-26 15:33:12 -06:00
James Eversole
e2621bc09d Allow lambda expressions without explicit paren
All checks were successful
Test, Build, and Release / test (push) Successful in 1m41s
Test, Build, and Release / build (push) Successful in 1m19s
2025-01-26 08:52:28 -06:00
James Eversole
1f5a910fb2 Immutable definitions and documentation updates
All checks were successful
Test, Build, and Release / test (push) Successful in 1m22s
Test, Build, and Release / build (push) Successful in 1m23s
2025-01-24 16:14:33 -06:00
James Eversole
8b043911ca Add size demo 2025-01-23 18:57:59 -06:00
James Eversole
ba340ae56f Update README to reflect demo
Some checks failed
Test, Build, and Release / build (push) Has been cancelled
Test, Build, and Release / test (push) Has been cancelled
2025-01-23 17:36:39 -06:00
James Eversole
03e2f6b93e Some special characters in ids; new demos
All checks were successful
Test and Build / test (push) Successful in 4m39s
Test and Build / build (push) Successful in 1m44s
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
James Eversole
82e29440b0 Reduce duplication of elimLambda calls 2025-01-20 15:16:27 -06:00
James Eversole
8c33e5ce66 Fix critical list evaluation bug and REPL updates 2025-01-02 19:08:14 -06:00
James Eversole
76487b15f9 Use better default output form in evaluator 2025-01-01 19:40:12 -06:00
James Eversole
18ff2d2e04 Clarify CLI options 2025-01-01 19:32:41 -06:00
James Eversole
bf58c9afbd Normalize CLI options and help display 2025-01-01 08:34:17 -06:00
James Eversole
7d38d99dcd 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
James Eversole
458d3c3b10 Latest --help in README 2024-12-31 10:09:36 -06:00
James Eversole
493ef51a6a 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
James Eversole
b86ff6e9b8 Additional tests 2024-12-29 12:22:24 -06:00
James Eversole
a7674d4635 README updates for run/build 2024-12-29 10:41:04 -06:00
James Eversole
14fdb741dc README clarifications 2024-12-29 10:37:37 -06:00
James Eversole
60a9e3c1ee 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
James Eversole
c30f17367f Rename from sapling to tricu 2024-12-29 08:29:25 -06:00
James Eversole
064bed26c5 Further README clarification 2024-12-28 22:20:43 -06:00
James Eversole
ff2952010f README updates 2024-12-28 21:58:52 -06:00
James Eversole
14b95f90b5 Update README and REPL formatting for list outputs 2024-12-27 20:54:30 -06:00
James Eversole
0dd14a3aea Automatic decoding of supported literals in REPL
Automatic decoding & display of string, number, and list types in REPL.
General updates to README, style, and comments.
2024-12-27 15:40:50 -06:00
James Eversole
fb04c9fffc Clean up 2024-12-18 19:41:12 -06:00
James Eversole
ad0df667aa Add README and LICENSE files 2024-12-18 19:15:56 -06:00