Skip to content

Commit b294a14

Browse files
committed
doc
1 parent 1c7d00a commit b294a14

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

easycoder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ These are the Python files that comprise **_EasyCoder_**.
33

44
**_EasyCoder_** has a small number of third-party dependencies. A minor one is `pytz`, which handles timezones. The biggest one by far is `kivy`, a comprehensive Python graphics library.
55

6-
If an **_EasyCoder**_ script filename ends with `.ecs` it's a command-line script. If it ends with `.ecg` it's a script for a graphical application and will cause `kivy` to be imported. Obviously this will only work on a GUI-based system, whereas command-line scripts will run anywhere there is Python.
6+
If an **_EasyCoder_** script filename ends with `.ecs` it's a command-line script. If it ends with `.ecg` it's a script for a graphical application and will cause `kivy` to be imported. Obviously this will only work on a GUI-based system, whereas command-line scripts will run anywhere there is Python.

scripts/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# EasyCoder example scripts
2+
The scripts in this folder are as follows:
3+
4+
`benchmark.ecs` is a program that can be translated into other languages and used to compare runtime performance.
5+
6+
`fizzbuzz.ecs` is often set as a rather trivial programming challenge at job interviews.
7+
8+
`graphics-demo.ecg` demonstrates various features of the **_EasyCoder_** graphics system. Note that the filename extension is `.ecg` instead of `.ecs`, this being to signal to **_EasyCoder_** that it needs to call in the `kivy` graphics package.
9+
10+
`hello.ecs` is everybody's first program.
11+
12+
`points.ecs` shows how to use a plugin module, in this case one that manages points (pairs of values).
13+
14+
`tests.ecs` is a selection of tests to verify the various language features. It could do with a major expansion to cover more of the language.

0 commit comments

Comments
 (0)