forked from denoland/deno
-
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.
Improve docs in core (denoland#2049)
- Loading branch information
Showing
4 changed files
with
30 additions
and
15 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 |
---|---|---|
|
@@ -7,6 +7,8 @@ edition = "2018" | |
description = "A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio" | ||
authors = ["The deno authors <[email protected]>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
repository = "https://github.com/denoland/deno" | ||
|
||
[lib] | ||
path = "lib.rs" | ||
|
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,16 @@ | ||
# Deno Core | ||
|
||
This Rust crate contains the essential V8 bindings for Deno's command-line | ||
interface (Deno CLI). The main abstraction here is the Isolate which proivdes a | ||
way to execute JavaScript. The Isolate is modeled as a | ||
`Future<Item=(), Error=JSError>` which completes once all of its ops have | ||
completed. The user must define what an Op is by implementing the `Behavior` | ||
trait, and by doing so define any "built-in" functionality that would be | ||
provided by the VM. Ops are triggered by `Deno.core.dispatch()`. | ||
|
||
Documentation for this crate is thin at the moment. Please see | ||
[http_bench.rs](https://github.com/denoland/deno/blob/master/core/http_bench.rs) | ||
as a simple example of usage. | ||
|
||
TypeScript support and a lot of other functionality is not available at this | ||
layer. See the [cli](https://github.com/denoland/deno/tree/master/cli) for that. |
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
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