blob: 88fd4e741eca511e86c61ac757d5e4cfd6f2624c [file] [log] [blame]
<!DOCTYPE html>
Copyright (c) 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
<meta charset="UTF-8">
<title>Lua Interpreter</title>
<link rel="stylesheet" href="//,700">
<link href="/static/css/out/site.css" rel="stylesheet">
<script type="text/javascript" src="//"></script>
<script type="text/javascript" src="naclterm.js"></script>
<script type="text/javascript" src="lua.js"></script>
<body class="demo">
<h1>Lua Interpreter</h1>
<div class="intro">
This demo provides a client-side interactive shell for the <a
href="" target="_blank">Lua</a> programming
<p class="note">
Note: the C++ source code of this demo is available in <a
target="_blank">webports</a>. The terminal interface is
rendered in HTML/CSS using the
<a href="" target="_blank">hterm</a> library.
<div class="panel panel-info">
<h2>Run in Lua</h2>
<div class="panel-body">
<button type="button" id="shell">Interactive Shell</button>
<button type="button" id="unittests">Lua Unit Tests</button>
<button type="button" id="scimark">SciMark</button>
<button type="button" id="binarytrees">Binarytrees</button>
<h2>Paste Snippets</h2>
<div class="panel-body">
<button type="button" id="mandlebrot">Mandlebrot Ascii</button>
<button type="button" id="fibonacci">Fibonacci</button>
<button type="button" id="donut">Donut</button>
<button type="button" id="banner">Banner</button>
<p class="credit">
Unit Testss:
<a href="" target="_blank">Lua Unit Tests</a>
<a href="" target="_blank">SciMark</a>,
<a href="" target="_blank">binarytrees</a>
<a href="" target="_blank">Mandlebrot Ascii</a>,
<a href="" target="_blank">Donut</a>
<div class="Demo-body">
<div id="listener" class="Demo-content">
<div id="terminal"></div>
<div id="loading-cover">
<div id="message">
<div id="statusField"></div>
<div id="progress" class="progress progress-striped active">
<div id="progress-bar" class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%">