Skip to content

Commit 0afd22c

Browse files
committed
Merge branch 'master' into 0.2.3
2 parents e79d73b + 8705367 commit 0afd22c

File tree

3 files changed

+16
-44
lines changed

3 files changed

+16
-44
lines changed

README.md

Lines changed: 14 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6,61 +6,35 @@
66

77
Eve is a programming language and IDE based on years of research into building a human-first programming platform. You can play with Eve online here: [play.witheve.com](http://play.witheve.com/).
88

9-
[![Play With Eve](http://programming.witheve.com/images/eve.png)](http://play.witheve.com/)
9+
[![Play With Eve](http://witheve.github.io/assets/images/editor.png)](http://play.witheve.com/#/examples/flappy.eve)
1010

11-
## Installation
12-
13-
### From Source
14-
15-
You'll need a recent [node.js](https://nodejs.org) for your platform. Download the Eve source either by cloning this repository:
11+
## How to use Eve
1612

13+
Install [Node](https://nodejs.org/en/download/) for your platform, then install Eve:
1714

1815
```
19-
git clone https://github.com/witheve/Eve.git
16+
npm install -g witheve
2017
```
2118

22-
or you can [download](https://github.com/witheve/Eve/archive/master.zip) the Eve source directly. To build and run Eve, run the following commands in the root Eve directory:
19+
Use the `eve` command to run a `*.eve` program:
2320

2421
```
25-
npm install
26-
npm start
22+
eve myProgram.eve
2723
```
2824

29-
Then open `http://localhost:8080/` in your browser.
30-
31-
### From npm
32-
33-
Alternatively, you can download Eve directly from npm with the following command:
25+
For more on running Eve, see the [documentation](http://docs.witheve.com/handbook/running/).
3426

35-
```
36-
npm install witheve
37-
```
38-
39-
### From Docker
27+
You can alternatively install Eve from source ([mac](http://docs.witheve.com/handbook/mac/), [windows](http://docs.witheve.com/handbook/windows/), [linux](http://docs.witheve.com/handbook/linux/)), or with [Docker](http://docs.witheve.com/handbook/docker/).
4028

41-
First, [download](https://www.docker.com/products/docker) and install Docker for your platform. To download and install the Eve container, run the following command:
42-
43-
```
44-
docker run -p 8080:8080 witheve/eve
45-
```
46-
47-
## How to use Eve
29+
## Learning Eve
4830

4931
You can learn about Eve with the following resources:
5032

51-
- [Play with Eve in your browser](http://play.witheve.com/) (use Chrome for best results)
33+
- [Read the Quick Start Tutorial](http://play.witheve.com/) (use Chrome for best results)
5234
- [Syntax Quick Reference](https://witheve.github.io/assets/docs/SyntaxReference.pdf)
53-
- [Eve Language Handbook (draft)](http://docs.witheve.com)
54-
55-
*Please let us know what kind of documents would be the most helpful as you begin your journey with Eve*. We want our documentation to be a highlight of the Eve experience, so any suggestions are greatly appreciated.
56-
57-
### Running Eve Programs in Server Mode
35+
- [Language Handbook (draft)](http://docs.witheve.com)
5836

59-
By default, Eve executes on the client browser. To instead execute your program on the server, launch Eve with the `--server` flag:
60-
61-
```
62-
npm start -- --server
63-
```
37+
Also, the [mailing list archive](https://groups.google.com/forum/#!forum/eve-talk) is a good resource for help and inspiration. In particular, the [Puzzles & Paradoxes series](https://groups.google.com/forum/#!searchin/eve-talk/Puzzles$20$26$20Paradoxes%7Csort:date) answers a lot of questions beginners face about the Eve langauge.
6438

6539
## Get Involved
6640

@@ -75,17 +49,15 @@ The Eve community is small but constantly growing, and everyone is welcome!
7549

7650
### How to Contribute
7751

78-
The best way to contribute right now is to write Eve code and report your experiences. Let us know what kind of programs you’re trying to write, what barriers you are facing in writing code (both mental and technological), and any errors you encounter along the way. Also, let us know what you love! What features are your favorite?
79-
80-
Another way to really help us is to host your `*.eve` files on Github, so we can get Eve recognized as an official language in the eyes of Github. Be sure to also send us a link to your repo!
52+
The best way to contribute right now is to write Eve code and report your experiences. [Let us know](https://groups.google.com/forum/#!forum/eve-talk) what kind of programs you’re trying to write, what barriers you are facing in writing code (both mental and technological), and any errors you encounter along the way.
8153

8254
### How to File an Issue
8355

8456
Please file any issues in this repository. Before you file an issue, please take a look to see if the issue already exists. When you file an issue, please include:
8557

8658
1. The steps needed to reproduce the bug
8759
2. Your operating system and browser.
88-
3. If applicable, the .*eve file that causes the bug.
60+
3. If applicable, the `.*eve` file that causes the bug.
8961

9062
## License
9163

examples/tic-tac-toe.eve

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Tic-Tac-Toe is a classic game played by two players, "X" and "O", who take turns
1010

1111
### Game settings
1212

13-
To begin, we initialize the board. We commit an object named @board to hold our global state and create a set of #cells. These #cells will keep track of the moves players have made. Common connect-N games (a generalized tic-tac-toe for any `NxN` grid) are scored along 4 axes (horizontal, vertical, the diagonal, and the anti-diagonal). We group cells together along each axis up front to make scoring easier later.
13+
To begin, we initialize the board. We commit a `#board` record to hold our global state and create a set of `#cell`s, which will keep track of the moves players have made. Common connect-N games (a generalized tic-tac-toe for any `NxN` grid) are scored along 4 axes (horizontal, vertical, the diagonal, and the anti-diagonal). We group cells together along each axis up front to make scoring easier later.
1414

1515
The game board is square, with a given size. It contains size ^ 2 cells,
1616
each with a row and column index.

src/runtime/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ export function run() {
308308
// If the port is already in use, display an error message
309309
process.on('uncaughtException', function handleAddressInUse(err) {
310310
if(err.errno === 'EADDRINUSE') {
311-
console.log(`ERROR: Eve couldn't start because port ${config.port} is already in use.\n\nYou can select a different port for Eve using the "port" argument.\nFor example:\n\n> npm start -- --port 1234`);
311+
console.log(`ERROR: Eve couldn't start because port ${config.port} is already in use.\n\nYou can select a different port for Eve using the "port" argument.\nFor example:\n\n> eve --port 1234`);
312312
} else {
313313
throw err;
314314
}

0 commit comments

Comments
 (0)