Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		- 
				
				 asgs109171yIt seemed to have generated something for Java code. Strangely, it started coloring right at the opening brace following the main method asgs109171yIt seemed to have generated something for Java code. Strangely, it started coloring right at the opening brace following the main method  
- 
				
				 K-ASS24921y@asgs well because the parser is only for python, so maybe it didn’t even pick up that syntax tree K-ASS24921y@asgs well because the parser is only for python, so maybe it didn’t even pick up that syntax tree
- 
				
				@K-ASS your orange peeler didn't peel my banana right.
 
 Are you using a full python parser, or did you handroll the parts you need?
- 
				
				 K-ASS24921y@lorentz I’m using tree sitter to generate the syntax tree then recurse over the tree. Most of the nodes don’t need special cares K-ASS24921y@lorentz I’m using tree sitter to generate the syntax tree then recurse over the tree. Most of the nodes don’t need special cares
- 
				
				this loop looks hella packed. And i guess as longs as you never need to deal with this code it would be fine.
 
 pretty cool regardless
- 
				
				 K-ASS24921y@kiki I feel like this is sarcasm and I checked the code, I don’t think I mistyped a o to 0 though K-ASS24921y@kiki I feel like this is sarcasm and I checked the code, I don’t think I mistyped a o to 0 though
- 
				
				Two things:
 
 0. Line comment outlining what each block is doing is top notch. All you're missing is adding a fucking newline before the comment so that I can discern the blocks at a glance.
 
 1. I'd prefer writing function arguments after a newline too just to evade line wrapping, though that is more subjective.
 
 But you're doing bpy stuff which is commendable. I salute you, fellow Blenderhead.
- 
				
				 K-ASS24921y@Liebranca bruh the core functionality of the website is highlighting, there is no reformatting K-ASS24921y@Liebranca bruh the core functionality of the website is highlighting, there is no reformatting
- 
				
				@K-ASS Then I hereby challenge your ass to either apply it by hand or add it in ;>
- 
				
				 K-ASS24921y@Liebranca here, this code is completely generated by ChatGPT, you can challenge his ass K-ASS24921y@Liebranca here, this code is completely generated by ChatGPT, you can challenge his ass  
- 
				
				@K-ASS It incosistently applies the line comment rule and very much shits on the line wrapping rule; 4/10, a dumb human could do it better.






Because writing code in latex is ugly, had to make a website to auto generate styled code for me:
https://txstc55.github.io/code-to-l...
Here’s a preview of a piece of code, in pdf, not an image
rant