Skip to content

Commit eab6700

Browse files
committed
start with frontend
1 parent fa69acf commit eab6700

3 files changed

Lines changed: 16 additions & 18 deletions

File tree

‎README‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ Online Python Tutor is a free educational tool created by Philip Guo
22
that helps students overcome a fundamental barrier to learning
33
programming: understanding what happens as the computer executes each
44
line of a program's source code. Using this tool, a teacher or student
5-
can write Python, Java, or JavaScript code in the Web browser and visualize
6-
what the computer is doing step-by-step as it executes that code.
5+
can write Python, Java, JavaScript, TypeScript, and Ruby code in the
6+
Web browser and visualize what the computer is doing step-by-step as
7+
it executes that code.
78

89
http://pythontutor.com/
910

‎v3/index.html‎

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<head>
3333

34-
<title>Online Python Tutor - Visualize Python, Java, JavaScript, and TypeScript code</title>
34+
<title>Online Python Tutor - Visualize Python, Java, JavaScript, TypeScript, and Ruby code</title>
3535

3636
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
3737

@@ -64,7 +64,7 @@
6464

6565
<div class="activityPane" id="learnPane">
6666

67-
<h1><span id="learnHeading">VISUALIZE</span> <span class="smallH1">the execution of Python, Java, JavaScript, and TypeScript code</span></h1>
67+
<h1><span id="learnHeading">VISUALIZE</span> <span class="smallH1"> Python, Java, JavaScript, TypeScript, and Ruby code execution</span></h1>
6868

6969
<p><a id="optLink" href="visualize.html">Online Python Tutor</a> is a
7070
free educational tool created by <a href="http://www.pgbovine.net/">Philip Guo</a>
@@ -73,16 +73,16 @@ <h1><span id="learnHeading">VISUALIZE</span> <span class="smallH1">the execution
7373
computer executes each line of a program's source code.</p>
7474

7575
<p>Using this
76-
tool, a teacher or student can write <b>Python</b>, <b>Java</b>, <b>JavaScript</b>, and <b>TypeScript</b> programs in the Web
76+
tool, a teacher or student can write <b>Python</b>, <b>Java</b>, <b>JavaScript</b>, <b>TypeScript</b>, and <b>Ruby</b> programs in the Web
7777
browser and visualize what the computer is doing step-by-step as it executes those programs.</p>
7878

79-
<p>Over 1.2 million people in over 165 countries have used
79+
<p>So far, over 1.2 million people in over 165 countries have used
8080
Online Python Tutor to visualize over 11 million pieces of code, often as a
8181
supplement to textbooks, lecture notes, and online programming
8282
tutorials.</p>
8383

8484
<div id="startLink">
85-
<a href="visualize.html">Start visualizing Python, Java, JavaScript, and TypeScript code!</a>
85+
<a href="visualize.html">Start writing and visualizing code now!</a>
8686
</div>
8787

8888

@@ -183,9 +183,7 @@ <h1><span id="shareHeading">EMBED</span> <span class="smallH1"> in any Web page<
183183

184184
<li/>Online Python Tutor runs Python 2.7 and 3.3, hosted on any CGI-capable Web server.
185185

186-
<li/>Main technologies: Python with <tt><a
187-
href="http://docs.python.org/library/bdb.html">bdb</a></tt> for the
188-
Python backend, Node.js and Docker for the JavaScript and TypeScript
186+
<li/>Main technologies: Python, Node.js, and Docker for
189187
backends; HTML/CSS/JavaScript with <a
190188
href="http://www.jquery.org">jQuery</a>, <a
191189
href="http://www.d3js.org/">D3.js</a>, <a
@@ -201,12 +199,6 @@ <h1><span id="shareHeading">EMBED</span> <span class="smallH1"> in any Web page<
201199
href="https://github.com/pgbovine/OnlinePythonTutor/tree/master/v3/docs">project
202200
documentation</a> online.
203201

204-
<!--
205-
<li/>Want to help out? I have lots of <a
206-
href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/v3/docs/project-ideas.md">project
207-
ideas</a>. Email philip@pgbovine.net to learn more.
208-
-->
209-
210202
</ul>
211203
</p>
212204

‎v3/visualize.html‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
-->
3131

3232
<head>
33-
<title>Online Python Tutor - Visualize Python, Java, JavaScript, and TypeScript code execution</title>
33+
<title>Online Python Tutor - Visualize Python, Java, JavaScript, TypeScript, and Ruby code execution</title>
3434

3535
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
3636

@@ -184,6 +184,7 @@
184184
<option value="java">Java</option>
185185
<option value="js">JavaScript</option>
186186
<option value="ts">TypeScript</option>
187+
<option value="ruby">Ruby</option>
187188
</select>
188189

189190
</div>
@@ -411,7 +412,7 @@
411412
</div>
412413

413414
<p style="margin-top: 25px;">
414-
<a href="http://pythontutor.com/">Online Python Tutor</a> currently supports four
415+
<a href="http://pythontutor.com/">Online Python Tutor</a> currently supports five
415416
languages (despite its name!):</p>
416417

417418
<p>1. Python <a href="http://www.python.org/doc/2.7/">2.7</a> and <a
@@ -459,6 +460,10 @@
459460
href="https://github.com/pgbovine/OnlinePythonTutor/tree/master/v4-cokapi/backends/javascript">Backend
460461
source code</a>.</p>
461462

463+
<p>5. Ruby 2.2.2 (MRI). <a
464+
href="https://github.com/pgbovine/OnlinePythonTutor/tree/master/v4-cokapi/backends/ruby">Backend
465+
source code</a>.</p>
466+
462467
<p style="margin-top: 30px;">Privacy Policy: By using Online Python Tutor, your visualized code, options, user interactions, and IP
463468
address are logged on our server and may be analyzed for research
464469
purposes. Nearly all Web services collect this basic information from

0 commit comments

Comments
 (0)