Skip to content

Commit 1b88595

Browse files
committed
Doc
1 parent 5b4ed19 commit 1b88595

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/md/home.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
~ec~ is a comprehensive, easy-to-use scripting language that looks a lot like English. It lets you build interactive websites or add interactivity to your existing website. For example, this entire website is built with EasyCoder scripts and Markdown text, with no HTML or JavaScript used beyond the index.html file.
44

5+
~ec~ requires no build environment. It compiles plain-text scripts in the browser and runs them immediately. Compilation is usually in the low tens of millseconds, even on a smartphone.
6+
57
### What sort of things does it do? ###
68

79
- ~ec~ can do most of the things JavaScript can do, either when used to enhance (bring interactivity to) an existing page or as the driving script for an entire website. The main difference is that ~ec~ uses _language_ to describe things in terms people understand naturally, whereas JavaScript and its many frameworks focus on _structure_ and are more suited to professional programmers who are able to cope better with the complexity involved.
810

9-
- ~ec~ requires no build environment. It compiles plain-text scripts in the browser and runs them immediately. Compilation is usually in the low tens of millseconds, even on a smartphone.
10-
1111
- Many websites consist of a long single page that have to be scrolled to get to the details, but it can be hard to know where anything is and there's usually no effective organization. With a few lines of script such a page can be divided into sections that can be hidden and revealed one at a time like a slide deck.
1212

1313
- If you have a number of items on a page you could show which the user has already looked at by drawing an outline round each one, changing the background color or overlaying a tick in one corner.

0 commit comments

Comments
 (0)