shithub: limbobyexample

Download patch

ref: 5bd50f13c315024164a221eb5a86edabf412b4d1
parent: c91045be5ed9f9019d92ce23a3955313e691f263
author: seh <henesy.dev@gmail.com>
date: Mon Mar 18 00:32:23 EDT 2019

init channels example work

diff: cannot open b/Channels//null: file does not exist: 'b/Channels//null'
--- /dev/null
+++ b/Channels/README.md
@@ -1,0 +1,19 @@
+# Channels
+
+Limbo supports concurrent communication and synchronization between processes via channels and a few structures working in tandem with channels. 
+
+The design for channels is inspired primarily by "Communicating Sequential Processes" (CSP) by Tony Hoare. 
+
+Further reading on CSP: http://www.usingcsp.com/cspbook.pdf
+
+## Source
+
+
+
+## Demo
+
+
+
+## Exercises
+
+- 
--- /dev/null
+++ b/Channels/chans.b
@@ -1,0 +1,20 @@
+implement Chans;
+
+include "sys.m";
+include "draw.m";
+
+sys: Sys;
+print: import sys;
+
+Chans: module {
+	init: fn(nil: ref Draw->Context, nil: list of string);
+};
+
+init(nil: ref Draw->Context, nil: list of string) {
+	sys = load Sys Sys->PATH;
+
+	
+
+	exit;
+}
+