jmeaster30 / ocean

A C-like programming language (get it like sea-like like an ocean lol)
GNU General Public License v3.0
0 stars 0 forks source link

Need to track tokens better in the hydro parser #97

Open jmeaster30 opened 8 months ago

jmeaster30 commented 8 months ago

Some tooling ideas I have would benefit from knowing the file paths and offsets of tokens of instructions/modules/functions/etc.

It would be nice to have this stuff all tracked with everything but I don't know how I want it to happen since we need a range type deal and the ranges overlap

jmeaster30 commented 8 months ago

Maybe return a range of tokens with each parse node so I can add that to a list in the callee function