ricardoboss / STEP

The STEP programming language
http://step-lang.dev/
MIT License
5 stars 1 forks source link

A command to inspect the parsed AST #104

Closed ricardoboss closed 10 months ago

ricardoboss commented 10 months ago

Something like this (ANTLR):

chucker commented 10 months ago

https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/get-started/syntax-analysis

Roslyn gives you a side-by-side view, where you can click code and have it highlighted in the tree, and vice versa.

ricardoboss commented 10 months ago

I thought of this as a terminal-friendly tree rendered using Spectre.Console. A GUI for any operation should, IMHO, be moved to a seperate project and binary.