-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
143 lines (128 loc) · 5.76 KB
/
index.html
File metadata and controls
143 lines (128 loc) · 5.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="eiger-highlight.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script defer src="javascript/script.js"></script>
<script defer src="javascript/eiger-highlight.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<title>The Eiger Programming Language (Eigerlang)</title>
</head>
<body>
<section id="main"></section>
<header>
<div id="left">
<a href="#main">
<img id="logo" src="resource/eiger-white-logo-512.png" alt="Eigerlang Logo">
</a>
</div>
<div id="right">
<ul>
<li>
<a href="#main">
<i class="fa-solid fa-circle-info"></i>
<span class="text">About</span>
</a>
</li>
<li>
<a href="#features">
<i class="fa-solid fa-gears"></i>
<span class="text">Features</span>
</a>
</li>
<li>
<a target="_blank" href="https://github.com/eigerproject/eigercs/releases">
<i class="fa-solid fa-circle-down"></i>
<span class="text">Downloads</span>
</a>
</li>
<li>
<a target="_blank" href="/docs">
<i class="fa-solid fa-book-bookmark"></i>
<span class="text">Documentation</span>
</a>
</li>
</ul>
</div>
</header>
<section id="showcase">
<div class="showcase-content fadeincontainer">
<h1 class="head-title-text">The Eiger Programming Language</h1>
<p><i>(eigerlang)</i> is a general-purpose, dynamically typed programming language designed to be easy to learn, powerful, and highly expressive.</p>
<a target="_blank" href="/docs" class="btn"><i class="fa-solid fa-flag-checkered"></i> Get Started</a>
<a target="_blank" href="https://github.com/eigerproject/eigercs" ><i class="fa-brands fa-github"></i> Contribute on GitHub</a>
</div>
<div class="showcase-code fadeincontainer d1">
<pre><code class="language-eiger">class User {
let email
let status
func new(email, status) {
this.email = email
this.status = status
}
}
func getActiveUserEmails(users) {
func isActive(user) > user.status ?= "active"
let readonly activeUsers = filter(users, isActive)
let readonly emails = map(activeUsers, func(user) > user.email)
ret emails
}
let readonly emails = getActiveUserEmails(fetchUsers())
for i = 0 to emails.length emitln(fmt("Active User #%1 => %2", i + 1, emails[i]))
</code></pre>
</div>
</section>
<section id="features">
<h2>Key Features</h2>
<div class="feature-list">
<div class="feature-item">
<i class="fa-solid fa-pen"></i>
<h3>Simple Syntax</h3>
<p>Eigerlang offers a clean and readable syntax, making it easy for beginners to pick up while remaining powerful for advanced use cases.</p>
</div>
<div class="feature-item">
<i class="fa-solid fa-code-compare"></i>
<h3>Dynamic Typing</h3>
<p>No need to worry about types until runtime - allowing for fast prototyping and development.</p>
</div>
<div class="feature-item">
<i class="fa-solid fa-terminal"></i>
<h3>Interactive REPL</h3>
<p>Eigerlang includes a REPL shell for interactive coding, enabling quick testing and debugging of code snippets.</p>
</div>
<div class="feature-item">
<i class="fa-solid fa-cubes"></i>
<h3>Object-Oriented Programming</h3>
<p>Eigerlang supports object-oriented principles, allowing for modular and reusable code structures.</p>
</div>
<div class="feature-item">
<i class="fa-solid fa-server"></i>
<h3>Cross-platform</h3>
<p>Runs seamlessly on major operating systems including Linux, Windows, and macOS.</p>
</div>
</div>
</section>
<section id="community">
<h2>Join the Community</h2>
<p>Become a part of our community! Contribute to the language, explore projects, and connect with developers.</p>
<a href="https://github.com/eigerproject" class="btn"><i class="fa-brands fa-github"></i> Join on GitHub</a>
</section>
<footer>
<div class="footer-content">
<div class="footer-links">
<a href="#main">About</a>
<a href="#features">Features</a>
<a target="_blank" href="https://github.com/eigerproject/eigercs/releases">Downloads</a>
<a target="_blank" href="/docs">Documentation</a>
</div>
<div class="social-media">
<a href="https://github.com/eigerproject/eigerproject.github.io">Page Source</a> | <a href="https://github.com/eigerproject/">GitHub</a>
</div>
<p>© 2025 Eiger Programming Language.</p>
</div>
</footer>
</body>
</html>