rainlanguage / dotrain

.rain to rainlang composer and rain language server protocol services
3 stars 4 forks source link

include a comment when dotrain composes a binding to a source #85

Closed thedavidmeister closed 6 months ago

thedavidmeister commented 7 months ago

when dotrain composes sources, e.g. call<'foo n>() where 'foo is some binding #foo it erases the foo name from the final output

this makes visual inspection of the final rainlang unnecessarily difficult to mentally map back to the source .rain file

a simple comment at the top of the source like /* 3. foo */ where 3 is the source index and foo is the binding name would be helpful to understand rainlang at a glance