forked from sakshamsharma/abcd-esolang
-
Notifications
You must be signed in to change notification settings - Fork 2
/
details.html
78 lines (50 loc) · 3.96 KB
/
details.html
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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>abcd-esolang by sakshamsharma</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
</head>
<body>
<section class="page-header">
<h1 class="project-name">abcd-esolang</h1>
<h2 class="project-tagline">A modified esolang made for Chaos '16 - Techkriti IIT Kanpur</h2>
<a href="https://github.com/sakshamsharma/abcd-esolang" class="btn">View on GitHub</a>
<a href="https://github.com/sakshamsharma/abcd-esolang/zipball/master" class="btn">Download .zip</a>
<a href="https://github.com/sakshamsharma/abcd-esolang/tarball/master" class="btn">Download .tar.gz</a>
</section>
<section class="main-content">
<h1>abcd-esolang</h1>
<em><p>A modified esolang tailor-made for Chaos '16 - Techkriti IIT Kanpur.</p></em>
<h1>So how to begin</h1>
<p>There are 2 major ways to use this language.</p>
<h2>Online:</h2>
<p>Taking note of the issues in the preceeding years, this year we ensured that the interpreter for the language is available online. We've made an interpreter in JavaScript (Open Source), and have deployed it online as well.<br />You can access it <b><a href='/interpreter.html'>here</a></b>. Feel free to write and test your code here.<br />We've also ensured that it does not crash your browser if you mess up. So the number of instructions you can run is capped at 20000.</p>
<h2>Offline:</h2>
<p>If you use git, you know what to do. Clone the repo, download the source code.<br />Compile the C++ code. Use it as you would.<br />Otherwise, go here:<br />[<a href='https://github.com/sakshamsharma/abcd-esolang/archive/master.zip'>https://github.com/sakshamsharma/abcd-esolang/archive/master.zip</a>].<br />This should download this folder as a .zip file. Extract it</p>
<h3>Linux</h3>
<p><code>cd abcd-esolang</code> (or whatever the name of the file is)<br /><code>g++ abcd.cpp -o abcd</code></p>
<p>You should now write your programs in files and run them as follows:</p>
<p>Assuming your program is in the same folder as the one above.</p>
<div class="highlight"><pre lang="">./abcd <program.ab>
</pre></div>
<p>You can also add abcd to your path using the following command:</p>
<div class="highlight"><pre lang="">echo "PATH=/home/<youruser>/abcd-esolang/:$PATH" > ~/.bashrc
</pre></div>
<p>Of course, you need to replace <youruser> with your username, and adjust the path appropriately.</p>
<h3>Windows</h3>
<p>This is slightly more tough. You should install MinGW and get an installation of g++ on your PC. Not recommended.</p>
<h1>NOTE</h1>
<p>We've tried to keep both the C++ and the JavaScript interpreters to behave the same, it may happen that they may not.<br />The judging will be done on the C++ interpreter.</p>
<p>Also, This language is <b>NOT</b> the "ABCD" esolang you'd find if you google for it. I'd suggest you focus on the contest.<br />Googling won't help ☺</p>
<footer class="site-footer">
<span class="site-footer-owner"><a href="https://github.com/sakshamsharma/abcd-esolang">abcd-esolang</a> is maintained by <a href="https://github.com/sakshamsharma">sakshamsharma</a>.</span>
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
</footer>
</section>
</body>
</html>