fmease / lushui

The reference compiler of the Lushui programming language
Apache License 2.0
7 stars 0 forks source link

Call stack traces for arbitrary types #158

Open fmease opened 2 years ago

fmease commented 2 years ago

Meta: Task: Add description, motivation etc.

Initial implementation should focus on core.option.Option and core.result.Result if that's easier to work with. (Design work is necessary around how to design the CLI / etc. for it to take a type as an argument; a fully qualified path is not necessarily unique e.g. with packages that share their name).

Keyword: Instrumentation.

Both static (compile time) and dynamic (run time) traces should be supported.

Mock up:

Meta: Task