| 
						
					 | 
					
						
						
						
						
							
						
						
							0a90ac4497
							
						
					 | 
					
						
						
							
							Fix inner block generation
						
						
						
						
						
					 | 
					
						2025-07-22 22:15:34 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							f944387847
							
						
					 | 
					
						
						
							
							Merge branch 'main' into if-expr-lhs-rhs
						
						
						
						
						
					 | 
					
						2025-07-22 21:50:43 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							59c8b641ca
							
						
					 | 
					
						
						
							
							Move cli to main, update version
						
						
						
						
						
					 | 
					
						2025-07-22 21:39:54 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							04ecc94403
							
						
					 | 
					
						
						
							
							Commit to git
						
						
						
						
						
					 | 
					
						2025-07-22 21:34:59 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							682295b04a
							
						
					 | 
					
						
						
							
							Fix casting from the same size of integer
						
						
						
						
						
					 | 
					
						2025-07-22 21:05:52 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							e5f6b37210
							
						
					 | 
					
						
						
							
							Fix std
						
						
						
						
						
					 | 
					
						2025-07-22 21:02:14 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							29d790e583
							
						
					 | 
					
						
						
							
							Start working on if-expression hands being expressions
						
						
						
						
						
					 | 
					
						2025-07-22 20:58:32 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							5c5c9c5f7b
							
						
					 | 
					
						
						
							
							Improve error for statement-failure
						
						
						
						
						
					 | 
					
						2025-07-22 20:54:06 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							8f45c8cf92
							
						
					 | 
					
						
						
							
							Fix nested if/else, add add_num_to_str to standard library
						
						
						
						
						
					 | 
					
						2025-07-22 20:47:39 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							32059682ee
							
						
					 | 
					
						
						
							
							Make add_char and set_char work
						
						
						
						
						
					 | 
					
						2025-07-22 20:27:29 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							64418635a5
							
						
					 | 
					
						
						
							
							Add from_str to stdlib
						
						
						
						
						
					 | 
					
						2025-07-22 20:07:42 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							28437aecb6
							
						
					 | 
					
						
						
							
							Fix indexing return type and casting to and from a char
						
						
						
						
						
					 | 
					
						2025-07-22 20:03:25 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							bbdfae081d
							
						
					 | 
					
						
						
							
							Fix std Strings
						
						
						
						
						
					 | 
					
						2025-07-22 19:50:54 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							3d73c52cb4
							
						
					 | 
					
						
						
							
							Fix casting within setters
						
						
						
						
						
					 | 
					
						2025-07-22 19:31:35 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							81ce1dfc2e
							
						
					 | 
					
						
						
							
							Fix a bunch of bugs with debug information and stuff
						
						
						
						
						
					 | 
					
						2025-07-22 19:16:45 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							78a1e9f06b
							
						
					 | 
					
						
						
							
							Fix typedef issue with modules
						
						
						
						
						
					 | 
					
						2025-07-22 18:03:15 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							f35f1ef701
							
						
					 | 
					
						
						
							
							Repurpose module map and rename old to ErrorModules
						
						
						
						
						
					 | 
					
						2025-07-22 17:34:01 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							fa6b7bdf87
							
						
					 | 
					
						
						
							
							Add temporary line number for for non-local structs
						
						
						
						
						
					 | 
					
						2025-07-22 16:35:15 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							e9bca63f0d
							
						
					 | 
					
						
						
							
							Add module id to CustomType, String to std
						
						
						
						
						
					 | 
					
						2025-07-22 16:16:46 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							1224c612c7
							
						
					 | 
					
						
						
							
							Codegen & compile char, change *str to *char
						
						
						
						
						
					 | 
					
						2025-07-22 15:07:33 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							108cf6efa5
							
						
					 | 
					
						
						
							
							Add FCmp to codegen
						
						
						
						
						
					 | 
					
						2025-07-22 15:01:02 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							9b9398ac26
							
						
					 | 
					
						
						
							
							Add lexing of escaped characters, add parsing of characters
						
						
						
						
						
					 | 
					
						2025-07-22 14:57:09 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							e220900ac3
							
						
					 | 
					
						
						
							
							Start adding chars
						
						
						
						
						
					 | 
					
						2025-07-22 14:44:28 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							9c0d373f9d
							
						
					 | 
					
						
						
							
							Fix casting to same type
						
						
						
						
						
					 | 
					
						2025-07-22 14:21:17 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							e27aa4b8ab
							
						
					 | 
					
						
						
							
							Fix pointer-casting
						
						
						
						
						
					 | 
					
						2025-07-22 14:19:28 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							c03a5188ea
							
						
					 | 
					
						
						
							
							Finish casting codegen
						
						
						
						
						
					 | 
					
						2025-07-22 14:12:31 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							e73b939de0
							
						
					 | 
					
						
						
							
							Add all cast instructions to lib
						
						
						
						
						
					 | 
					
						2025-07-22 14:05:50 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							a6c9752883
							
						
					 | 
					
						
						
							
							Use unordered comparisons in floats
						
						
						
						
						
					 | 
					
						2025-07-22 13:26:08 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							104205ee5d
							
						
					 | 
					
						
						
							
							Type-infer and check typecasting
						
						
						
						
						
					 | 
					
						2025-07-22 13:24:53 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							3378f556ec
							
						
					 | 
					
						
						
							
							Add AST -> MIR for typecasting
						
						
						
						
						
					 | 
					
						2025-07-21 21:28:39 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							c4ab4ac0b3
							
						
					 | 
					
						
						
							
							Add parsing of casting
						
						
						
						
						
					 | 
					
						2025-07-21 21:23:37 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							b2e9849504
							
						
					 | 
					
						
						
							
							Update README and .gitignore
						
						
						
						
						
					 | 
					
						2025-07-21 21:15:55 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							471c2eaf87
							
						
					 | 
					
						
						
							
							Fix struct-parsing interfering with if-parsing
						
						
						
						
						
					 | 
					
						2025-07-21 20:52:39 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							066f441a77
							
						
					 | 
					
						
						
							
							Add FCmp
						
						
						
						
						
					 | 
					
						2025-07-21 20:34:27 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							fe145ad2ef
							
						
					 | 
					
						
						
							
							Fix comparisons not working for integers
						
						
						
						
						
					 | 
					
						2025-07-21 20:25:28 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							7929a798af
							
						
					 | 
					
						
						
							
							Update examples a little bit
						
						
						
						
						
					 | 
					
						2025-07-21 20:23:37 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							836a532d8d
							
						
					 | 
					
						
						
							
							Fix UserPointer being completely monkeypatched, found the issue
						
						
						
						
						
					 | 
					
						2025-07-21 20:13:15 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							10d62eb1f7
							
						
					 | 
					
						
						
							
							Allow_identifiers_to_have_underscores
						
						
						
						
						
					 | 
					
						2025-07-21 19:36:44 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							069c277516
							
						
					 | 
					
						
						
							
							Update String to be *str
						
						
						
						
						
					 | 
					
						2025-07-21 19:32:40 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							eb99a4c74e
							
						
					 | 
					
						
						
							
							Fix range in literals
						
						
						
						
						
					 | 
					
						2025-07-21 19:18:39 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							6d879e5a30
							
						
					 | 
					
						
						
							
							Update README.md
						
						
						
						
						
					 | 
					
						2025-07-21 17:32:41 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							3d3a9a34f9
							
						
					 | 
					
						
						
							
							Fix binary operators for floats, make library functions extern
						
						
						
						
						
					 | 
					
						2025-07-21 17:32:20 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							feac7163f2
							
						
					 | 
					
						
						
							
							Add a bunch of operations to lib
						
						
						
						
						
					 | 
					
						2025-07-21 17:03:21 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							f0f828d1eb
							
						
					 | 
					
						
						
							
							Fix float type coercion and compilation
						
						
						
						
						
					 | 
					
						2025-07-21 16:54:50 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							ec0c7fa194
							
						
					 | 
					
						
						
							
							Fix float coersion rules
						
						
						
						
						
					 | 
					
						2025-07-21 16:53:29 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							a1507e14ca
							
						
					 | 
					
						
						
							
							Add flag to ignore no-main-error
						
						
						
						
						
					 | 
					
						2025-07-21 16:47:51 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							7c7dde03f9
							
						
					 | 
					
						
						
							
							Fix error reporting on No-Main-Function and add fp compilation
						
						
						
						
						
					 | 
					
						2025-07-21 16:44:16 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							bcc93dd60c
							
						
					 | 
					
						
						
							
							Add parsing to floats
						
						
						
						
						
					 | 
					
						2025-07-21 16:18:14 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							96947be97a
							
						
					 | 
					
						
						
							
							Remove additional llvm ir print, update readme
						
						
						
						
						
					 | 
					
						2025-07-21 15:47:50 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							e370e17ffd
							
						
					 | 
					
						
						
							
							Only include STD if it is imported
						
						
						
						
						
					 | 
					
						2025-07-21 15:47:02 +03:00 | 
					
					
						
						
							
							
							
						
					 |