- Memory management natives built in, rust-like lifetimes, garbage collection annotations, as well as manual memory access methods.
- Concurrency and parallelism implemented in the environment, not in the language, where it is just made accessible
- Common function and method interface, languages implement how they handle these interfaces so that cross-calling between pure functional and imperative languages is more possible.
- Platform-independent api for accessing the system. each application lives within a sandbox in this system, however.
- Simplicity and style guidelines are important in how the system develops and grows. develop with a "less is more" community statement; be frugal but useful, too.
- Two formats for storing bytecode, one in plaintext the other a binary file. Have support for sourcemapping bytecode.
- A nice, simple way to debug programs, as well as some sort of proof assistant stuff?
- Minimal runtime and memory usage, implementation by transpiling to c-- would provi
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
sensitivity "1" // DPI is 1200 | |
con_enable "1" // Enable console | |
snd_musicvolume "0" // No in-game music | |
// Crosshair | |
cl_crosshairstyle "4" // Static classic crosshair | |
cl_crosshair_drawoutline "0" // More crisp crosshair | |
cl_crosshairdot "0" // Remove dot to make visibility better | |
cl_crosshairthickness "0" // Thinner crosshair | |
cl_crosshairgap "-2" // Bring crosshair closer together |
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
Config_backColor_#1=eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5 | |
Config_backColor_#2=073642;;;;;;;eee8d5;eee8d5 | |
Config_backColor_#3=;;;;;;;eee8d5; | |
Config_foreColor_#1=268bd2;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;268bd2;073642 | |
Config_foreColor_#2=d33682;;;;;;;073642;073642 | |
Config_foreColor_#3=;;;;;;;d33682; | |
Config_fontColor_#1=93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1 | |
Config_fontColor_#2=93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1 | |
Config_fontColor_#3=;;;;;;;d33682; |
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
@import url(http://fonts.googleapis.com/css?family=Anonymous+Pro:400,400italic,700,700italic&subset=latin,latin-ext,greek,cyrillic) | |
x-screen { overflow-y: auto !important; } |
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
// to use, open a crosh session and press ctrl+shift+j to open up the inspector and navigate to the console | |
// copy paste this script and press enter and the preferences will be placed in localstorage so that they will | |
// load on subsequent crosh sessions. | |
// | |
// more information here: http://git.chromium.org/gitweb/?p=chromiumos/platform/assets.git;a=blob;f=chromeapps/nassh/doc/faq.txt | |
localStorage.clear() // reset so that options (specifically font-family) don't get weird. | |
term_.prefs_.set("environment", {TERM: "xterm-256color"}) | |
term_.prefs_.set("audible-bell-sound", "") // disable error bell sound |
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
use std::io; | |
use std::rand; | |
struct Player<'a> { name: &'a str, health: uint, heroism: uint } | |
struct Place { index: uint, danger: uint } | |
static MAX_HEALTH: uint = 100; | |
static MAX_HEROISM: uint = 100; | |
static PLACE_NAMES: [&'static str, ..5] = [ | |
"Woods", "Cave", "Mountain", "Town", "Desert"]; |
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
font: Anonymous Pro http://www.marksimonson.com/fonts/view/anonymous-pro |
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
#!/usr/bin/env node --harmony | |
// todo: only worry about flags if this is the main module | |
var argv = require('minimist')(process.argv.slice(2)) | |
var createClient = require('net-oce-protocol') | |
var duplex = require('duplexer') | |
var spawn = require('child_process').spawn | |
var path = require('path') | |
var inspect = require('util').inspect | |
var co = require('co') |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import FRP.Helm | |
import qualified FRP.Helm.Window as Window | |
render :: (Int, Int) -> Element | |
render (w, h) = collage w h [move (100, 100) $ filled red $ square 64] | |
main :: IO () | |
main = do | |
engine <- startup defaultConfig |