permaweb / aos

An operating system for AO: The hyper parallel computer
https://ao.g8way.io
Other
68 stars 46 forks source link

feat: line numbers and errors #330

Open twilson63 opened 2 weeks ago

twilson63 commented 2 weeks ago

Problem

if errors are reporting line numbers, we need to have them line up to the source.

Solution

When an error occurs we need to find the offset the pre compiled source and the user source and calculate the difference then print it out.