import { Project, CompilerPhase } from "@/types";
const siyoCompiler: Project = {
name: "Siyo Compiler",
tagline: "Custom programming language compiler",
language: "Java",
parsingTechnique: "Recursive Descent",
typeSystem: "Static",
};
const compilerPhases: CompilerPhase[] = [
{
phase: 1,
name: "Lexical Analysis",
description: "Tokenizes source code into lexemes"
},
{
phase: 2,
name: "Syntax Analysis",
description: "Parses tokens into syntax tree"
},
{
phase: 3,
name: "AST Generation",
description: "Creates Abstract Syntax Tree"
},
{
phase: 4,
name: "Semantic Analysis",
description: "Type checking and scope analysis"
},
{
phase: 5,
name: "Code Generation",
description: "Generates bytecode/IR output"
}
];
const languageFeatures = {
supported: [
"Variables & Constants",
"Functions & Procedures",
"Control Flow (if/else, loops)",
"Arrays & Data Structures",
"Operators & Expressions"
],
planned: [
"Object-Oriented Programming",
"JVM Bytecode Generation",
"Standard Library"
]
};
export default siyoCompiler;