87aed72ab2 
					 
					
						
						
							
							# Modules  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f71f88dce3 
					 
					
						
						
							
							Small dependency ordering optimizations  
						
						
						
						
					 
					
						2025-01-26 16:08:34 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						918d929c09 
					 
					
						
						
							
							# File eval mode now relies on main function  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a64b3f0829 
					 
					
						
						
							
							Definition dependency analysis  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test, Build, and Release / test (push) Successful in 1m34s 
				
			 
		
			
				
	Test, Build, and Release / build (push) Successful in 1m21s 
				
			 
		
		
	 
 
	 
						
						tricu now allows defining terms in any order and will resolve
dependencies to ensure that they're evaluated in the right order.
Undefined terms are detected and throw errors during dependency
ordering.
For now we can't define top-level mutually recursive terms. 
						
						
					 
					
						2025-01-26 14:50:39 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e2621bc09d 
					 
					
						
						
							
							Allow lambda expressions without explicit paren  
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ea128929da 
					 
					
						
						
							
							Add optimization cases for triage and composition  
						
						
						
						
					 
					
						2025-01-25 15:12:28 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2bd388c871 
					 
					
						
						
							
							Eval optimization! Tests for demos  
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test, Build, and Release / test (push) Successful in 1m30s 
				
			 
		
			
				
	Test, Build, and Release / build (push) Successful in 1m26s 
				
			 
		
		
	 
 
	 
						
						
					 
					
						2025-01-25 09:18:13 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1f5a910fb2 
					 
					
						
						
							
							Immutable definitions and documentation updates  
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						03e2f6b93e 
					 
					
						
						
							
							Some special characters in ids; new demos  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						42fce0ae43 
					 
					
						
						
							
							Drop unreachable cases of updateDepth  
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test and Build / test (push) Successful in 2m27s 
				
			 
		
			
				
	Test and Build / build (push) Successful in 1m39s 
				
			 
		
		
	 
 
	 
						
						
					 
					
						2025-01-21 16:16:04 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						51b1eb070f 
					 
					
						
						
							
							Add more explicit error handling for mismatched groupings  
						
						
						
						
					 
					
						2025-01-21 16:06:10 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c2e5a8985a 
					 
					
						
						
							
							Inline pattern matching in Parser  
						
						
						
						
					 
					
						2025-01-21 14:21:47 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						35163a5d54 
					 
					
						
						
							
							Allow multiline expressions  
						
						
						
						
					 
					
						2025-01-20 19:20:29 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ca7f09e2ac 
					 
					
						
						
							
							Eliminate redundant eager calls of elimLambda  
						
						
						
						
					 
					
						2025-01-20 16:05:06 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						82e29440b0 
					 
					
						
						
							
							Reduce duplication of elimLambda calls  
						
						
						
						
					 
					
						2025-01-20 15:16:27 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ad02c8b86a 
					 
					
						
						
							
							General refactor for legibility  
						
						... 
						
						
						
						Priming to update all source to lhs and document extensively 
						
						
					 
					
						2025-01-19 14:41:25 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3eb28a2c62 
					 
					
						
						
							
							Drop parseVarWithoutAssignment  
						
						... 
						
						
						
						Additionally sorts gitignore and adds attempted decoding of lists back
to the REPL 
						
						
					 
					
						2025-01-03 10:31:35 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8c33e5ce66 
					 
					
						
						
							
							Fix critical list evaluation bug and REPL updates  
						
						
						
						
					 
					
						2025-01-02 19:08:14 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						76487b15f9 
					 
					
						
						
							
							Use better default output form in evaluator  
						
						
						
						
					 
					
						2025-01-01 19:40:12 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						18ff2d2e04 
					 
					
						
						
							
							Clarify CLI options  
						
						
						
						
					 
					
						2025-01-01 19:32:41 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fff29199d1 
					 
					
						
						
							
							Support evaluation across multiple source files  
						
						
						
						
					 
					
						2025-01-01 19:27:04 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a2c459b148 
					 
					
						
						
							
							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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						39be66a4d1 
					 
					
						
						
							
							Fixes identifier lexing; support REPL file loading  
						
						
						
						
					 
					
						2025-01-01 18:05:21 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bf58c9afbd 
					 
					
						
						
							
							Normalize CLI options and help display  
						
						
						
						
					 
					
						2025-01-01 08:34:17 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5e2a4dff50 
					 
					
						
						
							
							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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8622af9ad2 
					 
					
						
						
							
							Initial ternary representation options  
						
						... 
						
						
						
						Both parsing and conversion from T to ternary representation supported 
						
						
					 
					
						2024-12-30 08:30:40 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2abeab9c04 
					 
					
						
						
							
							Adds "compiler" and CLI argument handling  
						
						
						
						
					 
					
						2024-12-29 21:49:57 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a8f72290a2 
					 
					
						
						
							
							Resolves issue with parsing comments  
						
						
						
						
					 
					
						2024-12-29 21:02:38 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b86ff6e9b8 
					 
					
						
						
							
							Additional tests  
						
						
						
						
					 
					
						2024-12-29 12:22:24 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c30f17367f 
					 
					
						
						
							
							Rename from sapling to tricu  
						
						
						
						
					 
					
						2024-12-29 08:29:25 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e376d13a93 
					 
					
						
						
							
							Stop using to/of conventions backwards  
						
						
						
						
					 
					
						2024-12-28 07:24:19 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2e539eb545 
					 
					
						
						
							
							Support for single line comment syntax using --  
						
						
						
						
					 
					
						2024-12-28 07:15:34 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						14b95f90b5 
					 
					
						
						
							
							Update README and REPL formatting for list outputs  
						
						
						
						
					 
					
						2024-12-27 20:54:30 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d804a114bb 
					 
					
						
						
							
							Update lambda handling; better default decode out  
						
						
						
						
					 
					
						2024-12-27 20:46:30 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						44e2169cdb 
					 
					
						
						
							
							Further library additions and REPL updates  
						
						
						
						
					 
					
						2024-12-27 19:27:04 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c820eda816 
					 
					
						
						
							
							Include equality testing in basic library  
						
						
						
						
					 
					
						2024-12-27 16:30:32 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e835caabbc 
					 
					
						
						
							
							Minor fix to REPL output for numbers  
						
						... 
						
						
						
						Uses # instead of text output. Adds several basic library functions. 
						
						
					 
					
						2024-12-27 16:09:54 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4495f8eba0 
					 
					
						
						
							
							Tests and better default REPL behavior  
						
						
						
						
					 
					
						2024-12-27 14:10:13 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dbb5227fbc 
					 
					
						
						
							
							Somewhat working lambdas  
						
						... 
						
						
						
						Architectural changes to lambda evaluation and parsing to allow
for correct expression evaluation. Contains several failing AI-generated
tests and we're still failing tests for erroring incomplete definitions 
						
						
					 
					
						2024-12-27 13:21:30 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7fca4d38e8 
					 
					
						
						
							
							Stop using lists to represent args  
						
						
						
						
					 
					
						2024-12-27 08:17:06 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c5f1ccc4dc 
					 
					
						
						
							
							Drop useless comments  
						
						
						
						
					 
					
						2024-12-20 13:00:06 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c16c48b22c 
					 
					
						
						
							
							0.2.0  
						
						... 
						
						
						
						Includes better error handling, additional tests, parsing and lexing
fixes to match the desired behavior defined by the new tests, and a very
basic REPL implementation. 
						
						
					 
					
						2024-12-20 12:58:06 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a61627f333 
					 
					
						
						
							
							Reserve __result keyword  
						
						
						
						
					 
					
						2024-12-19 21:13:57 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2399830366 
					 
					
						
						
							
							Additional test coverage for lexing and parsing  
						
						
						
						
					 
					
						2024-12-19 20:26:46 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d13b2f52e7 
					 
					
						
						
							
							Additional test cases and bug fixes for subtle issues  
						
						
						
						
					 
					
						2024-12-19 19:53:32 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						602048dc53 
					 
					
						
						
							
							Formatting  
						
						... 
						
						
						
						Clean up Main.hs formatting; clarify language in parsing branch 
						
						
					 
					
						2024-12-19 19:08:56 -06:00