pseudo-states appear to be working + variables only exist within the scope where they are created

This commit is contained in:
Joeri Exelmans 2025-10-16 17:10:37 +02:00
parent db1479bfc4
commit d4930eb13d
22 changed files with 742 additions and 569 deletions

10
src/App/BottomPanel.tsx Normal file
View file

@ -0,0 +1,10 @@
import { TraceableError } from "../statecharts/parser";
import "./BottomPanel.css";
export function BottomPanel(props: {errors: TraceableError[]}) {
return <div className="toolbar">
<div className="errorStatus">{
props.errors.length>0 && <>{props.errors.length} errors {props.errors.map(({message})=>message).join(',')}</>}</div>
</div>;
}