Measures Concepts
GitHub icon

Deno

Deno - Compiler

< >

Deno is a compiler created in 2018 by Ryan Dahl.

Source code:
git clone https://github.com/denoland/deno
#301on PLDB 6Years Old

A modern runtime for JavaScript and TypeScript.


Example from the web:
// Imports `serve` from the remote Deno standard library, using URL. import { serve } from "https://deno.land/std@v0.21.0/http/server.ts"; // `serve` function returns an asynchronous iterator, yielding a stream of requests for await (const req of serve({ port: 8000 })) { req.respond({ body: "Hello, World!\n" }); }
Example from hello-world:
console.log("Hello World");

Language features

Feature Supported Token Example
Strings ✓ "
"Hello world"
Print() Debugging ✓ console.log
Comments ✓
// A comment
Line Comments ✓ //
// A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout