mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-11-03 15:26:12 -08:00 
			
		
		
		
	Nativs support for gen::AST, fixes & update to library, getting gen_array working...
token_fmt returns StrC now. Did some fixes so it can properly function now! Lots of changes to the Array non-parsed implementation. It shows no errors in the edtitor static analysis, however I haven't tried it yet. Unfortunately have some friction with how I would like to set it up like with everything in C++... Can't inherit from ArrayBase to provide the common members to all Array defs, without introducing constructor complexity. I may be open to using constructors in the future, depends on how I feel when trying out the context pattern used in jai and odin...
This commit is contained in:
		@@ -37,7 +37,7 @@ $path_scripts = Join-Path $path_root scripts
 | 
			
		||||
		$args_meson += $path_gen_build
 | 
			
		||||
 | 
			
		||||
		Push-Location $path_gen
 | 
			
		||||
		& meson $args_meson 
 | 
			
		||||
		& meson $args_meson
 | 
			
		||||
		Pop-Location
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
@@ -49,6 +49,7 @@ $path_scripts = Join-Path $path_root scripts
 | 
			
		||||
	& ninja $args_ninja
 | 
			
		||||
	Pop-Location
 | 
			
		||||
 | 
			
		||||
	if ($true) {
 | 
			
		||||
	$gencpp = Join-Path $path_gen_build gencpp.exe
 | 
			
		||||
 | 
			
		||||
	Push-location $path_gen
 | 
			
		||||
@@ -71,6 +72,7 @@ $path_scripts = Join-Path $path_root scripts
 | 
			
		||||
	clang-format $formatParams $targetFiles
 | 
			
		||||
	Write-Host "`nFormatting complete"
 | 
			
		||||
	Pop-Location
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	# Build the program depending on generated files.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user