You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/language.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,29 +4,28 @@ This document provides a quick overview of the Plush programming language, its s
4
4
5
5
Plush is an experimental toy programming language and virtual machine inspired by JavaScript, Lox, Lua, and Python. It features a simple, minimalistic design with a stack-based bytecode interpreter, actor-based parallelism, and an easily extensible set of host functions.
6
6
7
-
The Plush language supports:
7
+
The Plush language has:
8
8
- Dynamic typing
9
9
- Classes and objects
10
10
- Closures/lambdas
11
11
- Separate `Float64` and `Int64` types
12
12
- Dynamic arrays aka vectors/lists
13
13
- Immutable UTF-8 strings
14
14
- Dictionaries with JSON-like syntax
15
-
- Memory safe, actor-based parallelism
16
15
- A native byte array type
17
16
- A simple frame buffer API for graphics and animations
18
17
- A simple audio output API
19
18
- An extensible set of host functions defined in `src/host.rs`
20
-
- Importing code from other source files
19
+
- The ability to importing code from other source files
20
+
- Memory safe, actor-based parallelism
21
+
- A copying garbage-collector that runs independently for each actor
21
22
22
23
Caveats and limitations:
23
-
-Lack of error messages or good error handling
24
+
-Error messages and error handling need improvement
24
25
- You may have to look at the source code to figure things out
25
26
- We could use your help in improving error messages
26
-
- Copying garbage collector planned but not yet implemented
27
-
- Currently relying on alloc-until-you-crash technology (TM)
28
27
- May be missing functionality you're used to in other programming languages
29
-
- For example, not as many `String` methods as Python or JS
28
+
- For example, not as many `String`and `Array`methods as Python or JS
30
29
- This is an area where you can potentially contribute
0 commit comments