|
1 | 1 | # Introduction
|
2 |
| -This is the Python version of **_EasyCoder_**, a high-level English-like scripting language suited for prototyping and rapid testing of ideas. It operates on the command line. |
| 2 | +**_EasyCoder_** is a high-level English-like scripting language suited for prototyping and rapid testing of ideas. It operates on the command line and a graphics module is under construction. This version of the language is written in Python and its runtime acts as a fairly thin wrapper around Python functions, giving good performance for general applications. |
3 | 3 |
|
4 | 4 | The JavaScript version of **_EasyCoder_**, which provides a full set of graphical features to run in a browser, is at
|
5 | 5 |
|
@@ -44,16 +44,16 @@ As you can guess from the above, the print command gives the line in the script
|
44 | 44 |
|
45 | 45 | Here in the repository is a folder called `scripts` containing some sample scripts:
|
46 | 46 |
|
47 |
| -`benchmark.ecs` allows the performance of EasyCoder to be compared to other languages if a similar program is written for each one |
48 |
| -`tests.ecs` is a test program containing many of the EasyCoder features |
49 |
| -`fizzbuzz.ecs` is a simple programming challenge often given at job interviews |
| 47 | +`fizzbuzz.ecs` is a simple programming challenge often given at job interviews |
| 48 | +`tests.ecs` is a test program containing many of the EasyCoder features |
| 49 | +`benchmark.ecs` allows the performance of EasyCoder to be compared to other languages if a similar program is written for each one |
50 | 50 |
|
51 | 51 | ## Graphical programmming
|
52 |
| -**_EasyCoder_** includes a graphical programming environment that is in the early stages of development. A couple of demo scripts are included in the `scripts` directory. To run them, first install the Python `kivy` graphics library if it's not already present on your system. This is done with `pip install kivy`. Then run a script using `easycoder {scriptname}.ecg`. |
| 52 | +**_EasyCoder_** includes a graphical programming environment that is in the early stages of development. A couple of demo scripts are included in the `scripts` directory. To run them, first install the Python `kivy` graphics library if it's not already present on your system. This is done with `pip install kivy`. Then run your **_EasyCoder_** script using `easycoder {scriptname}.ecg`. |
53 | 53 |
|
54 |
| -Graphical scripts look much like any other script but their file names must use the extension `.ecg` to signal to **_EasyCoder_** that it needs to load the graphics module. This allows the **_EasyCoder_** application to be used wherever Python is installed, in either a command-line or a graphical environment (but graphics will of course not be available in the former). |
| 54 | +Graphical scripts look much like any other script but their file names must use the extension `.ecg` to signal to **_EasyCoder_** that it needs to load the graphics module. Non-graphical applications can use any extension but `.ecs` is recommended. This allows the **_EasyCoder_** application to be used wherever Python is installed, in either a command-line or a graphical environment, but graphics will of course not be available in the former. |
55 | 55 |
|
56 |
| -A couple of demo scripts are included in the `scripts` directory: |
| 56 | +A couple of demo graphical scripts are included in the `scripts` directory: |
57 | 57 |
|
58 | 58 | `graphics-demo.ecg` shows some of the elements that can be created, and demonstrates a variety of the graphical features of the language such as detecting when elements are clicked.
|
59 | 59 |
|
|
0 commit comments