Decaf Parser JS

Simple decaf parser with syntax and semantic check using JS. Drag and drop a file or write one to start. Use Ctrl + Enter to parse the file.

class Program { int A[10]; void OutputInt(int a) { return; } void main() { A[0] = 5; A[1] = 6; A[2] = 7; A[3] = A[1] + A[2]; OutputInt(A[3]); } }

output

No errors!