jerryscript/index.html
Evgeny Gavrin 3929590e13 update
2015-06-13 19:04:09 +03:00

123 lines
4.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>JerryScript Engine</title>
<meta name="description" content="JerryScript is a very lightweight JavaScript engine with capability to run on microcontrollers with less then 8KB of RAM.
">
<link rel="stylesheet" href="/jerryscript/css/main.css">
<link rel="canonical" href="http://samsung.github.io/jerryscript/">
<link rel="alternate" type="application/rss+xml" title="JerryScript Engine" href="http://samsung.github.io/jerryscript/feed.xml" />
</head>
<body>
<header class="site-header">
<div class="wrapper">
<a class="site-title" href="/jerryscript/">JerryScript Engine</a>
<nav class="site-nav">
<a href="#" class="menu-icon">
<svg viewBox="0 0 18 15">
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
</svg>
</a>
<div class="trigger">
<a class="page-link" href="/jerryscript/how-to/">How To</a>
<a class="page-link" href="/jerryscript/API/">API</a>
<a class="page-link" href="/jerryscript/internals/">Internals</a>
<a class="page-link" href="/jerryscript/dev-guide/">Development</a>
</div>
</nav>
</div>
</header>
<div class="page-content">
<div class="wrapper">
<p>JerryScript is a lightweight JavaScript engine intended to run on a very constrained devices such as microcontrollers:</p>
<ul>
<li>Only few kilobytes of RAM available to the engine (&lt;64 KB RAM)</li>
<li>Constrained ROM space for the code of the engine (&lt;200 KB ROM)</li>
<li>On-device compilation and execution</li>
<li>The engine provides access to peripherals from JavaScript</li>
</ul>
<div class="highlight"><pre><code class="language-js" data-lang="js"><span class="nx">print_hello</span><span class="p">(</span><span class="s2">&quot;Tom&quot;</span><span class="p">)</span>
<span class="kd">function</span> <span class="nx">print_hello</span> <span class="p">(</span><span class="nx">name</span><span class="p">)</span> <span class="p">{</span>
<span class="nx">print</span> <span class="p">(</span><span class="s2">&quot;Hi, &quot;</span> <span class="o">+</span> <span class="nx">name</span><span class="p">)</span>
<span class="p">}</span></code></pre></div>
<p>Check out the <a href="http://github.com/Samsung/jerryscript">JerryScript sources</a> and start using JerryScript in you projects. Please, report all found bugs and request new features at <a href="http://github.com/Samsung/jerryscript/issues">JerryScript issue tracker</a>. If you have questions, feel free to ask them on <a href="http://github.com/Samsung/jerryscript/labels/question">issue tracker</a> and dont forget to label it with <code>question</code> or <code>discussion</code>.</p>
</div>
</div>
<footer class="site-footer">
<div class="wrapper">
<!--
<h2 class="footer-heading">JerryScript Engine</h2>
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="contact-list">
<li>JerryScript Engine</li>
<li><a href="mailto:"></a></li>
</ul>
</div>
<h3 class="footer-heading">JerryScript Engine</h2>
<div class="footer-col footer-col-5">
<p class="text">JerryScript is a very lightweight JavaScript engine with capability to run on microcontrollers with less then 8KB of RAM.
</p>
</div>
-->
<div class="footer-copy">
<p> &copy; Copyright 2015 Samsung Electronics Co., Ltd., Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
</div>
</div>
</footer>
</body>
</html>