calebegg / try-acl2 Goto Github PK
View Code? Open in Web Editor NEWA website and evaluation service so that visitors can try ACL2 in their browser without any plugins or installation.
Home Page: http://tryacl2.org
A website and evaluation service so that visitors can try ACL2 in their browser without any plugins or installation.
Home Page: http://tryacl2.org
If you want to page through the tutorial, you have to keep adjusting where you're pointing the mouse, because the arrows are at the bottom of the page of text. Moving the arrows to the right of the title line would give them a fixed place, making it much easier to rapidly move through the tutorial.
When I enter (+ 1 2)
and press Enter in IE 9, nothing happens. 3
is not shown.
The factorial example says that (zp n)
is t
when n
is not a natural number. The first thing I tried then was to execute (zp -1)
, only to get an error due to a violated guard. The next page of the tutorial mentions guards, but does not explain that they will cause the toplevel execution of (zp n)
to fail when n
is not a natural number.
I would like to be able to see where I am relative to all lessons and what the general plan of the lessons are at a glance. Having an idea where lessons are going helps integrate what I'm learning into the overall picture.
I imagine a display something like:
*** Lesson 1. Lisp (3/8)**
Lesson 2. Functions (4)
Lesson 3. Theorems (2)
Where:
The process seems to hang when I try to apply np
to a floating point value. (np -1)
is rejected immediately by the guard, but (np -1.0)
or any other float just sits there, processing forever, till I reload the page.
Once the text area starts to scroll:
This affects Firefox 10.0a2 (Aurora channel) under OS X 10.7.2. The custom scrollbar also does not appear in that browser.
Safari version 5.1.1 (7534.51.22) does not show these problems. It's possible they'll go away by the time FireFox 10.0 becomes beta or release, but it's something to keep an eye on.
When the remote process is hung, the activity indicator appears in the top-right corner of the scrollview rather than the bottom-right, where the viewers focus is after inputting the command. This caused me to hit enter a few times before deciding things were well and hung; only when I hit backspace did focus for some reason jump to the top of the scrollview, where I could see the activity indicator.
I did not discover this till I went to copy-paste while writing issues. It's not obvious that the code is clickable; the lighter green background just seemed a way to visually distinguish code blocks.
It might also be appropriate to have it both copy and immediately execute, though some text will just give an error, like (zp n)
, which does not bind n
.
The tutorial says:
You'll notice that
(factorial (list 1 2 3))
returns1
, an inapplicable answer. This is a little messy, but fine.
Actually, executing that line of code gives an error:
> (factorial (list 1 2 3))
ACL2 Error in TOP-LEVEL: The guard for the function call (ZP X), which
is (AND (INTEGERP X) (<= 0 X)), is violated by the arguments in the
call (ZP '(1 2 3)).
See :DOC set-guard-checking for information about suppressing this
check with (set-guard-checking :none), as recommended for new users.
To debug see :DOC print-gv, see :DOC trace, and see :DOC wet.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.