Skip to content

Commit c9fdc68

Browse files
committed
readme and example change
1 parent d438ddc commit c9fdc68

File tree

5 files changed

+11
-76
lines changed

5 files changed

+11
-76
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ A Python Interpreter written in Rust :snake: :scream: :metal:.
33

44
[![Build Status](https://travis-ci.org/RustPython/RustPython.svg?branch=master)](https://travis-ci.org/RustPython/RustPython)
55

6-
# Usage (Not implemented yet)
6+
# Usage
77

88
To test RustPython, do the following:
99

1010
$ git clone https://github.com/RustPython/RustPython
1111
$ cd RustPython
1212
$ cargo run demo.py
13-
42
13+
Hello, RustPython!
1414

1515
Or use the interactive shell:
1616

@@ -19,9 +19,9 @@ Or use the interactive shell:
1919
>>>>> 2+2
2020
4
2121

22-
Or use pip to install extra modules:
22+
<!-- Or use pip to install extra modules:
2323
24-
$ cargo run -m pip install requests
24+
$ cargo run -m pip install requests -->
2525

2626
# Goals
2727

@@ -30,12 +30,12 @@ Or use pip to install extra modules:
3030

3131
# Code organization
3232

33-
- `parser`: python lexing, parsing and ast
34-
- `vm`: python virtual machine
35-
- `src`: using the other subcrates to bring rustpython to life.
36-
- `docs`: documentation (work in progress)
37-
- `py_code_object`: CPython bytecode to rustpython bytecode convertor (work in progress)
38-
- `tests`: integration test snippets
33+
- parser: python lexing, parsing and ast
34+
- vm: python virtual machine
35+
- src: using the other subcrates to bring rustpython to life.
36+
- docs: documentation (work in progress)
37+
- py_code_object: CPython bytecode to rustpython bytecode convertor (work in progress)
38+
- tests: integration test snippets
3939

4040
# Community
4141

demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
print(42)
2+
print("Hello, RustPython!")

demo2.py

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

vm/README.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)