-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.shl
More file actions
193 lines (163 loc) · 8.67 KB
/
main.shl
File metadata and controls
193 lines (163 loc) · 8.67 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
use "compiler_v2.shl"
serve files from "public" at "/static"
define page Head using title_text
head
title title_text
link rel="stylesheet" href="/static/style.css"
meta charset="utf-8"
meta name="viewport" content="width=device-width, initial-scale=1.0"
define page HomeHead using title_text
head
title title_text
link rel="stylesheet" href="/static/style.css"
meta charset="utf-8"
meta name="viewport" content="width=device-width, initial-scale=1.0"
script type="application/ld+json"
'{"@context": "https://schema.org", "@type": "SoftwareApplication", "name": "ShellLite", "applicationCategory": "DeveloperApplication", "operatingSystem": "Cross-platform", "url": "https://shelllite.tech", "author": { "@type": "Person", "name": "Shrey Naithani", "url": "https://shreyn.tech" }, "description": "An English-like programming language designed for human readability and native LLVM performance.", "license": "https://www.gnu.org/licenses/gpl-3.0.html", "softwareVersion": "0.5.3.2", "offers": { "@type": "Offer", "price": "0.00", "priceCurrency": "USD" }, "codeRepository": "https://github.com/Shrey-N/ShellLite"}'
define page Navbar
header
div class="container"
nav
div class="logo" "ShellLite"
div class="nav-links"
a href="/" "Home"
a href="/compiler" "Compiler"
a href="/docs" "Docs"
a href="/contact" "Contact"
a href="https://github.com/Shrey-N/ShellLite" "GitHub"
define page Footer
footer
div class="container"
p
span "This website was written using "
strong "ShellLite only. "
span style="font-style: italic; color: #58a6ff;" "Code like you think."
p style="font-size: 0.8em; margin-top: 10px;" "© 2025-Present Shrey Naithani"
define page Home
html
HomeHead "ShellLite - Code like you think"
body
Navbar
div class="hero"
div class="container"
h1 "Code like you think."
p class="tagline" "ShellLite is a programming language designed to be as readable as plain English. It strips away the complex syntax of traditional languages and replaces it with natural, human-friendly commands. Whether you are automating your desktop, building a website, or just learning to code, ShellLite makes it simple."
div class="action-buttons"
a href="/compiler" class="btn btn-primary" "Try Online Compiler"
a href="/static/ShellLite.exe" class="btn btn-outline" "Download ShellLite (.exe)"
div class="container"
div class="grid"
div class="card"
h3 "Readable"
p "ShellLite reads like a story, making code accessible to everyone."
div class="card"
h3 "Powerful"
p "Built on Python, giving you access to a massive ecosystem of libraries."
div class="card"
h3 "Versatile"
p "From simple automation scripts to full web servers and GUI apps."
div class="container" style="margin-top: 40px;"
h2 "Publications"
div class="grid"
div class="card"
h3 "Books"
p "Check out my latest book on ShellLite."
div style="margin-top: 15px;"
a href="https://books2read.com/b/mVpoXM" class="btn btn-outline" "Read Book"
div class="card"
h3 "Research Papers"
div class="docs-list"
a href="https://doi.org/10.5281/zenodo.18385614" "DOI: 10.5281/zenodo.18385614"
a href="https://doi.org/10.5281/zenodo.18228699" "DOI: 10.5281/zenodo.18228699"
Footer
define page DocsList
html
head
title "Documentation - ShellLite"
link rel="stylesheet" href="/static/style.css"
meta charset="utf-8"
meta name="viewport" content="width=device-width, initial-scale=1.0"
script src="https://unpkg.com/3d-force-graph"
body
Navbar
div class="container" style="padding-top: 40px;"
h1 "Documentation"
p class="tagline" "Master the art of ShellLite."
div class="graph-section"
h2 "Learning Path"
p "Click a topic to explore. Follow the arrows for recommended learning order."
div id="docs-graph" class="docs-graph-container"
div class="grid"
div class="card"
h3 "Essentials"
div class="docs-list"
a href="/docs/01_Getting_Started.md" "01. Getting Started"
a href="/docs/02_Language_Basics.md" "02. Language Basics"
a href="/docs/03_Control_Flow.md" "03. Control Flow"
a href="/docs/04_Data_Structures.md" "04. Data Structures"
a href="/docs/05_Functions_and_OOP.md" "05. Functions & OOP"
div class="card"
h3 "Advanced Mastery"
div class="docs-list"
a href="/docs/06_Modules_and_StdLib.md" "06. Modules & StdLib"
a href="/docs/07_System_Mastery.md" "07. System Mastery"
a href="/docs/08_Web_Development.md" "08. Web Development"
a href="/docs/09_Advanced_Features.md" "09. Advanced Features"
a href="/docs/10_Compilation_and_Performance.md" "10. Compilation"
a href="/docs/11_Testing_and_Debugging.md" "11. Testing & Debugging"
div class="card"
h3 "Reference & Guides"
div class="docs-list"
a href="/docs/12_API_Reference.md" "12. API Reference"
a href="/docs/13_Security_Guide.md" "13. Security Guide"
a href="/docs/14_Migration_Guide.md" "14. Migration Guide"
a href="/docs/15_Troubleshooting.md" "15. Troubleshooting"
a href="/docs/16_Examples_and_Tutorials.md" "16. Examples"
a href="/docs/17_Best_Practices.md" "17. Best Practices"
script src="/static/docs_graph.js"
Footer
define page DocViewer
html
head
title "Doc Viewer - ShellLite"
link rel="stylesheet" href="/static/style.css"
script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"
script src="/static/doc_viewer.js"
body
Navbar
div class="container" style="padding: 40px 20px; min-height: 60vh;"
div id="content" class="markdown-body" "Loading documentation..."
Footer
define page Contact
html
Head "Contact Us - ShellLite"
body
Navbar
div class="container" style="padding-top: 40px; min-height: 60vh;"
h1 "Contact Us"
p class="tagline" "We are here to help."
div class="card" style="max-width: 600px; margin: 0 auto;"
h3 "Get in touch"
p "For any inquiries, bug reports, or feedback:"
div style="margin-top: 20px;"
p
strong "Email: "
span "contact@shelllite.tech"
p
strong "GitHub: "
a href="https://github.com/Shrey-N/ShellLite/issues" "Open an Issue"
p
strong "Wikidata: "
a href="https://www.wikidata.org/wiki/Q137924590" "Language (Q137924590)"
span " | "
a href="https://www.wikidata.org/wiki/Q137924569" "Author (Q137924569)"
Footer
when someone visits "/"
Home
when someone visits "/docs"
DocsList
when someone visits "/docs/:file"
DocViewer
when someone visits "/contact"
Contact
start website