-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e770a5
commit e0fca00
Showing
7 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Aura Docs | ||
|
||
- [Data](./data.md) | ||
- [Call](./call.md) | ||
- [Control Flow](./flow.md) | ||
- [Types](./type.md) | ||
- [Tags](./tags.md) | ||
- [Targets](./targets.md) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Aura: Data | ||
|
||
The way Aura treats data and memory depends on the target, but doesn't affect the result of the computation. | ||
|
||
## AuraVM | ||
|
||
WIP | ||
|
||
## C | ||
|
||
When targeting C there are three possibilities: | ||
|
||
- Data is used only once, so it's moved | ||
- Data is shared by reference when passed as arguments to calls | ||
- Data is copied when passed as argument to data constructors | ||
|
||
## JS | ||
|
||
WIP | ||
|
||
## Immutability | ||
|
||
The important thing to notice is: data is always immutable. So everytime you pass data to somewhere else, the original data is preserved |
Empty file.
Empty file.
Empty file.
Empty file.