fb46ede3ca 
								
							
								 
							
						 
						
							
							
								
								🐛  bug: fix OP_TEST ignoring `k`  
							
							... 
							
							
							
							I didn't know what `k` was a few days ago. 
							
						 
						
							2023-10-01 01:33:47 -05:00  
				
					
						
							
							
								 
						
							
							
								a9820677e9 
								
							
								 
							
						 
						
							
							
								
								🐛  bug: fix some stuff in calling native functions  
							
							
							
						 
						
							2023-10-01 01:06:15 -05:00  
				
					
						
							
							
								 
						
							
							
								9bfd3c64c3 
								
							
								 
							
						 
						
							
							
								
								✅  tests: add failing benchmark  
							
							... 
							
							
							
							It doesn't even want to load the bytecode lol 
							
						 
						
							2023-09-30 09:48:02 -05:00  
				
					
						
							
							
								 
						
							
							
								15e4832623 
								
							
								 
							
						 
						
							
							
								
								➖  remove unused artifacts  
							
							
							
						 
						
							2023-09-29 17:46:46 -05:00  
				
					
						
							
							
								 
						
							
							
								57486f7a65 
								
							
								 
							
						 
						
							
							
								
								🐛  bug: fma test passes with a hack  
							
							... 
							
							
							
							So closures are kinda working, but I'm probably missing some edge cases. 
							
						 
						
							2023-09-29 17:44:54 -05:00  
				
					
						
							
							
								 
						
							
							
								4da634a2aa 
								
							
								 
							
						 
						
							
							
								
								🚧  wip: working on closures / upvalues  
							
							
							
						 
						
							2023-09-28 01:31:23 -05:00  
				
					
						
							
							
								 
						
							
							
								05b1d6e1f7 
								
							
								 
							
						 
						
							
							
								
								⭐  loading upvalue metadata  
							
							
							
						 
						
							2023-09-28 00:55:16 -05:00  
				
					
						
							
							
								 
						
							
							
								b639d02027 
								
							
								 
							
						 
						
							
							
								
								remove unused file  
							
							
							
						 
						
							2023-09-28 00:28:33 -05:00  
				
					
						
							
							
								 
						
							
							
								96c82c27c8 
								
							
								 
							
						 
						
							
							
								
								🐛  bug: fix long string loading and int adding  
							
							... 
							
							
							
							Long strings didn't work before because I hadn't implemented Lua's varint
decoding. It's an easy translation from the original C.
Int adding previously created a float because I always coerced to float.
Also an easy fix. 
							
						 
						
							2023-09-28 00:27:05 -05:00  
				
					
						
							
							
								 
						
							
							
								5c4a545369 
								
							
								 
							
						 
						
							
							
								
								📝  doc: roadmap  
							
							
							
						 
						
							2023-09-27 13:58:37 -05:00  
				
					
						
							
							
								 
						
							
							
								bebc96916b 
								
							
								 
							
						 
						
							
							
								
								⭐  allow Lua to call native Rust functions  
							
							... 
							
							
							
							And Value::BogusPrint is gone. So the only Bogus remaining is closures. 
							
						 
						
							2023-09-27 01:46:53 -05:00  
				
					
						
							
							
								 
						
							
							
								2f676adc19 
								
							
								 
							
						 
						
							
							
								
								⭐  FizzBuzz with some caveats  
							
							
							
						 
						
							2023-09-26 22:45:41 -05:00  
				
					
						
							
							
								 
						
							
							
								9811d265f6 
								
							
								 
							
						 
						
							
							
								
								⭐  for loops with integer counters counting up only  
							
							
							
						 
						
							2023-09-26 22:34:47 -05:00  
				
					
						
							
							
								 
						
							
							
								fcfd9397ff 
								
							
								 
							
						 
						
							
							
								
								🐛  bug: switch to RefCell so some more of the tables tests will pass  
							
							
							
						 
						
							2023-09-26 22:03:37 -05:00  
				
					
						
							
							
								 
						
							
							
								0d5e1098bc 
								
							
								 
							
						 
						
							
							
								
								✅  test: found a bug in my tables impl  
							
							
							
						 
						
							2023-09-26 20:47:47 -05:00  
				
					
						
							
							
								 
						
							
							
								9d29aeb43b 
								
							
								 
							
						 
						
							
							
								
								⭐  tables are working okay  
							
							... 
							
							
							
							Still missing a lot of stuff. And I'm pretty sure the Rc handling code
is totally wrong.
And they don't have the Lua 5.0 optimization of an internal array,
but that's probably easy to put in. 
							
						 
						
							2023-09-26 20:31:00 -05:00  
				
					
						
							
							
								 
						
							
							
								5466e6ec56 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: make register access easier to read  
							
							
							
						 
						
							2023-09-26 16:45:04 -05:00  
				
					
						
							
							
								 
						
							
							
								72b2d6e656 
								
							
								 
							
						 
						
							
							
								
								⭐  can create an empty table  
							
							
							
						 
						
							2023-09-26 15:49:12 -05:00  
				
					
						
							
							
								 
						
							
							
								8d80ebc052 
								
							
								 
							
						 
						
							
							
								
								⭐  add integers  
							
							
							
						 
						
							2023-09-26 14:23:57 -05:00  
				
					
						
							
							
								 
						
							
							
								bc15781457 
								
							
								 
							
						 
						
							
							
								
								🐛  bug: fix up printing to mostly match PUC Lua  
							
							... 
							
							
							
							The numbers are still off, since I didn't separate floats and ints yet 
							
						 
						
							2023-09-26 13:46:01 -05:00  
				
					
						
							
							
								 
						
							
							
								7b1fb49775 
								
							
								 
							
						 
						
							
							
								
								use luac in `main`  
							
							
							
						 
						
							2023-09-26 13:33:59 -05:00  
				
					
						
							
							
								 
						
							
							
								d9469b4440 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: invoke luac during tests so I don't have to version artifacts  
							
							
							
						 
						
							2023-09-26 12:04:17 -05:00  
				
					
						
							
							
								 
						
							
							
								0d88653c21 
								
							
								 
							
						 
						
							
							
								
								⭐  the nested functions thing is working, though I wish I didn't have to use recursion  
							
							
							
						 
						
							2023-09-25 03:05:00 -05:00  
				
					
						
							
							
								 
						
							
							
								4fd412b415 
								
							
								 
							
						 
						
							
							
								
								🚧  wip: I'm not handling nested functions in luac files properly  
							
							... 
							
							
							
							will fix soon 
							
						 
						
							2023-09-25 01:57:57 -05:00  
				
					
						
							
							
								 
						
							
							
								1518781753 
								
							
								 
							
						 
						
							
							
								
								🚧  wip: got the closure test working  
							
							
							
						 
						
							2023-09-25 00:23:53 -05:00  
				
					
						
							
							
								 
						
							
							
								c718ba67cf 
								
							
								 
							
						 
						
							
							
								
								⭐  make a luac loader sufficient for what I've implemented  
							
							
							
						 
						
							2023-09-24 22:10:10 -05:00  
				
					
						
							
							
								 
						
							
							
								81efebdda2 
								
							
								 
							
						 
						
							
							
								
								⭐  allow calling closures  
							
							
							
						 
						
							2023-09-24 19:47:17 -05:00  
				
					
						
							
							
								 
						
							
							
								8a2807f879 
								
							
								 
							
						 
						
							
							
								
								✅  another test  
							
							
							
						 
						
							2023-09-24 17:34:38 -05:00  
				
					
						
							
							
								 
						
							
							
								eb5a1947a1 
								
							
								 
							
						 
						
							
							
								
								✅  extract unit test  
							
							
							
						 
						
							2023-09-24 16:57:12 -05:00  
				
					
						
							
							
								 
						
							
							
								b07de4810d 
								
							
								 
							
						 
						
							
							
								
								Lua virtual machine in Rust, why the heck not.  
							
							
							
						 
						
							2023-09-24 16:16:10 -05:00