Skip to content

Commit 1e524c9

Browse files
committed
update
1 parent 21b466a commit 1e524c9

File tree

10 files changed

+397
-69
lines changed

10 files changed

+397
-69
lines changed

development.html

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset='utf-8' />
6+
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
7+
<meta name="description" content="Cero Programming Language : " />
8+
9+
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
10+
11+
<title>Cero Programming Language</title>
12+
</head>
13+
14+
<body>
15+
16+
<!-- HEADER -->
17+
<div id="header_wrap" class="outer">
18+
<header class="inner">
19+
<a id="forkme_banner" href="https://github.com/suncore/cero">View on GitHub</a>
20+
21+
<h1 id="project_title">Cero Programming Language</h1>
22+
<h2 id="project_tagline">C++ uncluttered</h2>
23+
24+
</header>
25+
</div>
26+
27+
<!-- MAIN CONTENT -->
28+
<div id="main_content_wrap" class="outer">
29+
<section id="main_content" class="inner">
30+
31+
<a href="index.html">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;
32+
<a href="userguide.html">Docs</a>&nbsp;&nbsp;&nbsp;&nbsp;
33+
<a href="community.html">Community</a>&nbsp;&nbsp;&nbsp;&nbsp;
34+
<a href="download.html">Download</a>&nbsp;&nbsp;&nbsp;&nbsp;
35+
<a href="development.html">Development</a>&nbsp;&nbsp;&nbsp;&nbsp;
36+
<a href="why.html">Why?</a>&nbsp;&nbsp;&nbsp;&nbsp;
37+
<h2>Cero Development</h2>
38+
39+
<p>You are welcome to participate in Cero development. Discussions are held in the forum (see Community link) and the sources are on GitHub (see top blue "View on GitHub" link).</p>
40+
41+
<p>Some serious effort is needed in the tooling domain, such as support in Eclipse, Kdevelop etc.</p>
42+
43+
<h3>Building</h3>
44+
45+
<p>Currently, only Linux is supported.</p>
46+
47+
<p>Get sources from GitHub (git clone or download zip). Just run "make" to build.</p>
48+
</section>
49+
</div>
50+
51+
<!-- FOOTER -->
52+
<div id="footer_wrap" class="outer">
53+
<footer class="inner">
54+
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
55+
</footer>
56+
</div>
57+
58+
59+
60+
</body>
61+
</html>

development.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Cero Development
2+
3+
You are welcome to participate in Cero development. Discussions are held in the forum (see Community link) and the sources are on GitHub (see top blue "View on GitHub" link).
4+
5+
Some serious effort is needed in the tooling domain, such as support in Eclipse, Kdevelop etc.
6+
7+
### Building
8+
9+
Currently, only Linux is supported.
10+
11+
Get sources from GitHub (git clone or download zip). Just run "make" to build.
12+

download.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset='utf-8' />
6+
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
7+
<meta name="description" content="Cero Programming Language : " />
8+
9+
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
10+
11+
<title>Cero Programming Language</title>
12+
</head>
13+
14+
<body>
15+
16+
<!-- HEADER -->
17+
<div id="header_wrap" class="outer">
18+
<header class="inner">
19+
<a id="forkme_banner" href="https://github.com/suncore/cero">View on GitHub</a>
20+
21+
<h1 id="project_title">Cero Programming Language</h1>
22+
<h2 id="project_tagline">C++ uncluttered</h2>
23+
24+
</header>
25+
</div>
26+
27+
<!-- MAIN CONTENT -->
28+
<div id="main_content_wrap" class="outer">
29+
<section id="main_content" class="inner">
30+
31+
<a href="index.html">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;
32+
<a href="userguide.html">Docs</a>&nbsp;&nbsp;&nbsp;&nbsp;
33+
<a href="community.html">Community</a>&nbsp;&nbsp;&nbsp;&nbsp;
34+
<a href="download.html">Download</a>&nbsp;&nbsp;&nbsp;&nbsp;
35+
<a href="development.html">Development</a>&nbsp;&nbsp;&nbsp;&nbsp;
36+
<a href="why.html">Why?</a>&nbsp;&nbsp;&nbsp;&nbsp;
37+
<h2>Downloads</h2>
38+
39+
<p>Currently, only Linux x64 is supported. You can easily get the sources and build for Linux x32 if you like. See the Development section.</p>
40+
41+
<p><a href="https://github.com/suncore/cero/releases/download/1.0b1/cero-1.0b1-linux-x64.tar.gz">Cero 1.0 beta 1 - Linux x64</a></p>
42+
</section>
43+
</div>
44+
45+
<!-- FOOTER -->
46+
<div id="footer_wrap" class="outer">
47+
<footer class="inner">
48+
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
49+
</footer>
50+
</div>
51+
52+
53+
54+
</body>
55+
</html>

download.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## Downloads
2+
3+
Currently, only Linux x64 is supported. You can easily get the sources and build for Linux x32 if you like. See the Development section.
4+
5+
[Cero 1.0 beta 1 - Linux x64](https://github.com/suncore/cero/releases/download/1.0b1/cero-1.0b1-linux-x64.tar.gz)
6+

index.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,29 +58,31 @@ <h3>Example</h3>
5858
<p>File myprint.ce:</p>
5959

6060
<pre><code>+++ public
61-
// This part becomes the .h file
62-
+decl // declarations preceded by a + sign end up here
61+
+decl
6362
+++ private
64-
// This part becomes the .cpp file
65-
#include
66-
+void myprint(string s)
63+
#include &lt;iostream&gt;
64+
#include &lt;string&gt;
65+
+void myprint(std::string s)
6766
std::cout &lt;&lt; s
6867
</code></pre>
6968

7069
<p>File main.ce:</p>
7170

7271
<pre><code>+++ private
72+
#include &lt;string&gt;
7373
import myprint
74-
-decl // declarations preceded by a - sign end up here, declared as "static"
74+
-decl
7575
int main(int argc, char *argv[])
7676
s := hello()
7777
for i := 0..5
7878
myprint(s)
7979

80-
-string hello()
81-
return "Hello World"
80+
-std::string hello()
81+
return "Hello World\n"
8282
</code></pre>
8383

84+
<p>In Cero, the public (.h) and private (.cpp) parts of a module is combined in one file. Declarations in a module that are private or should be exported can be prefixed with - or +.</p>
85+
8486
<p>Building:</p>
8587

8688
<pre><code>$ cero b main.ce

index.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,28 @@ Cero has the following modifications compared to C++:
2020
File myprint.ce:
2121

2222
+++ public
23-
// This part becomes the .h file
24-
+decl // declarations preceded by a + sign end up here
23+
+decl
2524
+++ private
26-
// This part becomes the .cpp file
27-
#include
28-
+void myprint(string s)
25+
#include <iostream>
26+
#include <string>
27+
+void myprint(std::string s)
2928
std::cout << s
3029

3130
File main.ce:
3231

3332
+++ private
33+
#include <string>
3434
import myprint
35-
-decl // declarations preceded by a - sign end up here, declared as "static"
35+
-decl
3636
int main(int argc, char *argv[])
3737
s := hello()
3838
for i := 0..5
3939
myprint(s)
4040
41-
-string hello()
42-
return "Hello World"
41+
-std::string hello()
42+
return "Hello World\n"
43+
44+
In Cero, the public (.h) and private (.cpp) parts of a module is combined in one file. Declarations in a module that are private or should be exported can be prefixed with - or +.
4345

4446
Building:
4547

0 commit comments

Comments
 (0)