muda - siyabend.dev
Explorer
No open files
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
// src/projects/siyo-compiler.tsx
// Full-featured compiler for the Siyo programming language
 
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;
main
00
Ln 1, Col 1UTF-8TypeScript React
Izmir, TR
muda