Skip to content

Commit

Permalink
Renames to Nitro
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon committed Sep 13, 2023
1 parent 1716117 commit 95be909
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Stage 0 (std)",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/stage0/target/debug/pluto",
"program": "${workspaceFolder}/stage0/target/debug/nitro",
"args": [
"${workspaceFolder}/std"
],
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Pluto
# Nitro

Pluto is an experimental OOP language inspired by Rust with the following goals:
Nitro is an experimental OOP language inspired by Rust with the following goals:

- Compiled to native code.
- [Non-fragile](https://en.wikipedia.org/wiki/Fragile_binary_interface_problem) and stable ABI.
Expand All @@ -10,20 +10,20 @@ Pluto is an experimental OOP language inspired by Rust with the following goals:
- No null value (except a pointer).
- Option type.

Pluto borrowed most of the syntax from Rust except:
Nitro borrowed most of the syntax from Rust except:

- Pluto is an OOP language like Java or C#.
- Nitro is an OOP language like Java or C#.
- Easy to learn, especially for people who already know Java, C# or Rust.
- No lifetime, no borrow checker, no const VS mut.
- No borrowed and owned type like `str` and `String`.
- Use exception like Java or C# for error handling (no checked exception).
- Pluto was designed for application programming rather than systems programming.
- Nitro was designed for application programming rather than systems programming.

The goal of Pluto is to be a modern OOP language with the productivity of Rust syntax.
The goal of Nitro is to be a modern OOP language with the productivity of Rust syntax.

## Different from Java or C#

The main different is Pluto compiled to native code instead of Java bytecode or Common Intermediate
The main different is Nitro compiled to native code instead of Java bytecode or Common Intermediate
Language, which can be run without a VM. The benefit with this are:

- Low memory footprint.
Expand All @@ -34,7 +34,7 @@ Language, which can be run without a VM. The benefit with this are:
## Current state

I'm currently writing the stage 0 compiler along side the `std` library. The goal of stage 0
compiler is to compile the `std` and `cli`. Once the first version of `cli` is fully working Pluto
compiler is to compile the `std` and `cli`. Once the first version of `cli` is fully working Nitro
will become a self-hosted language.

## Example
Expand Down Expand Up @@ -108,7 +108,7 @@ impl Allocator {
You need to clone this repository with submodules like this:

```sh
git clone --recurse-submodules https://github.com/ultimaweapon/pluto.git
git clone --recurse-submodules https://github.com/ultimaweapon/nitro.git
```

### Build dependencies
Expand Down
2 changes: 1 addition & 1 deletion stage0/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "pluto"
name = "nitro"
version = "0.1.0"
edition = "2021"

Expand Down

0 comments on commit 95be909

Please sign in to comment.