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
require: mithril | |
provide: percent as [%] | |
MithrilNode = (tags, props, Array! children) -> | |
mithril(tags.join(""), props, children) | |
macro{MithrilNode} percent = #data{x, y} -> | |
let {=> MithrilNode} = @deps | |
`[^x % ^y] where ENode = [^MithrilNode] |
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
Log: Log file open, 11/21/14 00:17:02 | |
Init: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467 | |
DevConfig: GConfig::Find has loaded file: ..\..\Engine\Config\ConsoleVariables.ini | |
Init: Version: 10897 | |
Init: Epic Internal: 0 | |
Init: Compiled (32-bit): Nov 20 2014 10:33:56 | |
Init: Changelist: 1532151 | |
Init: Command line: -seekfreeloadingpcconsole -NOSCREENMESSAGES | |
Init: Base directory: C:\Program Files (x86)\Steam\steamapps\common\Cyber Disk\Binaries\Win32\ | |
[0000.23] Init: Computer: HEGEL5 |
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
shared dynamic Buffer { | |
} |
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
dynamic Express {} | |
Application requireExpressAndCallConstructor() { | |
dynamic { return require("express")(); } | |
} | |
dynamic Request {} | |
dynamic Response { | |
shared formal void send(String string); |
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
C:\Users\madca_000 | |
λ cd git\ceylon-dev\ceylon-ide-eclipse\ | |
warning: LF will be replaced by CRLF in tests/com.redhat.ceylon.eclipse.ui.test/resources/model-loader-tests/declarations/src/declarations/A.ceylon. | |
The file will have its original line endings in your working directory. | |
warning: LF will be replaced by CRLF in tests/com.redhat.ceylon.eclipse.ui.test/resources/model-loader-tests/declarations/src/declarations/Annotations.ceylon. | |
The file will have its original line endings in your working directory. | |
warning: LF will be replaced by CRLF in tests/com.redhat.ceylon.eclipse.ui.test/resources/model-loader-tests/declarations/src/declarations/Any.ceylon. | |
The file will have its original line endings in your working directory. |
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
[INFO] Scanning for projects... | |
[INFO] Computing target platform for MavenProject: com.redhat.ceylon.eclipse:com.redhat.ceylon.eclipse.ui.jdt.debug.fragment:1.1.1-SNAPSHOT @ C:\Users\madca_000\git\ceylon-dev\ceylon-ide-eclipse\plugins\com.redhat.ceylon.eclipse.ui.jdt.debug.fragment\pom.xml | |
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/ (0B at 0B/s) | |
[INFO] Adding repository http://download.eclipse.org/releases/kepler | |
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201402280900/ (0B at 0B/s) | |
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201309270900/ (0B at 0B/s) | |
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201306260900/ (0B at 0B/s) | |
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/kepler/ (0B at 0B/s) | |
[INFO] Adding repository http://download.eclipse.org/technology/swtbot/releases/latest | |
[INFO] Adding repository file:../ceylon-dist/osgi/build/dist |
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
"Run the module `my.blog`." | |
shared void run() { | |
Application app; | |
app = Application(); | |
dynamic server = app.js.listen(3000, void () { | |
dynamic { | |
console.log( |
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
[ | |
{ | |
type: 'button' | |
icon: 'navicon-round' | |
iconset: 'ion' | |
callback: 'command-palette:toggle' | |
tooltip: 'Toggle Command Palette' | |
} | |
{ | |
type: 'button' |
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
unit module Bob; | |
class Bob is export { | |
method hey ($input) { | |
given $input { | |
when $_.ends-with('?') { say 'Sure.' } | |
when $_.ends-with('!') { say 'Whoa, chill out' } | |
when $_ eq '' { say 'Fine. Be that way!' } | |
default { say 'Whatever.' } | |
} |
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
given @*ARGS[0] { | |
when @_ eq '-p' or @_ eq '--phrase' { | |
say translate(@*ARGS[1]); | |
} | |
when @_ eq '-f' or @_ eq '--file' { | |
say translate(@*ARGS[1].IO.slurp); | |
} | |
default { | |
say 'You must provide either "-p"/"--phrase" and a phrase or "-f"/"--file" and a filepath.'; | |
exit(1); |
OlderNewer