forked from rescript-lang/rescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
96 lines (91 loc) · 3.4 KB
/
index.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 1.5.4">
<title>Developer experience</title>
</head>
<body class="article">
<div id="header">
</div>
<div id="content">
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Welcome to BuckleScript</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">BuckleScript: write JS faster, safer and smaller</h1>
<h2 class="project-tagline"></h2>
<a href="https://github.com/bucklescript/bucklescript" class="btn">View on GitHub</a>
<a href="./Manual.html" class="btn">Manual</a>
<a href="../bucklescript-playground/index.html" class="btn">Try it </a>
<a href="./blog/index.html" class="btn"> Blogs</a>
</section>
<section class="main-content">
<div class="paragraph">
<p>BuckleScript is a backend for <a href="http://ocaml.org/">OCaml</a> which emits readable, modular and highly performant JavaScript.</p>
</div>
<div class="sect3">
<h4 id="_developer_experience">Developer experience</h4>
<div class="paragraph">
<p>BuckleScript probably has the <em>fastest</em> JavaScript compiler.The compiler is compiled to both native code and JavaScript,
users can try the compiler in the <a href="https://bucklescript.github.io/bucklescript-playground">browser</a> and imagine how fast it would be for native backend.</p>
</div>
</div>
<div class="sect3">
<h4 id="_integration_with_existing_javascript_libraries">Integration with existing JavaScript libraries</h4>
<div class="paragraph">
<p>BuckleScript is one of the very few compilers which compiles an <em>existing typed language</em> to readable JavaScript. It has the same
characteristics of typescript: one OCaml module compiled into one JavaScript module (AMDJS, CommonJS, or Google module) without name mangling.</p>
</div>
</div>
<div class="sect3">
<h4 id="_it_s_ocaml">It’s OCaml !</h4>
<div class="ulist">
<ul>
<li>
<p>30 years distilled research in PL and amazing effort of compiler engineering</p>
</li>
<li>
<p>Native backends: AMD64, IA32, PowerPC, ARM, SPARC</p>
</li>
<li>
<p>Language based OS: Mirage Unikernel</p>
</li>
</ul>
</div>
</div>
<div class="sect3">
<h4 id="_installation">Installation</h4>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-sh" data-lang="sh">npm install -g bs-platform</code></pre>
</div>
</div>
</div>
<div class="sect3">
<h4 id="_enjoy">Enjoy!</h4>
<footer class="site-footer">
<span class="site-footer-owner"><a href="https://github.com/bucklescript/bucklescript">BuckleScript</a> is open-sourced by <a href="https://github.com/bucklescript">Bloomberg L.P </a>.</span>
</footer>
</section>
</body>
</html>
</div>
</div>
<div id="footer">
<div id="footer-text">
</div>
</div>
</body>
</html>