- Like a drum machine, you have a memory bank of patterns, where each pattern is a function definition
- You invent a rhythm to signify a function name
- While your functions's rhythm is playing in a loop, you can edit the function body
- Add certain sounds and/or rhythms in a sequence to add commands, such as variable assignment or function application
- To add a nested lexical scope, such as a while loop or a conditional, you loop a "keyword rhythm"
- For example, there may be a special "if-condition" rhythm. While the if-condition rhythm is playing, you are editing the inside of its block. At this point, both the function body and if-condition rhythms will be looping in the background
- When you execute a function, all the sounds and rhythms are played back in execution order at any speed you wanta
- Keywords, commands, and functions are differentiated by rhythm, sound, and/or tone
This file contains hidden or 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 @/table | |
export word_count | |
main | |
# Channel of words | |
| words <- !split_to_channel /\s/ stdin | |
# Hash table of word mapped to count | |
| word_counts <- !word_count words | |
$ iterate line <- !format word_counts |
This file contains hidden or 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
diff --git a/GenomeFileUtil.spec b/GenomeFileUtil.spec | |
index 9c8c209..d2cb40c 100644 | |
--- a/GenomeFileUtil.spec | |
+++ b/GenomeFileUtil.spec | |
@@ -19,18 +19,18 @@ module GenomeFileUtil { | |
typedef mapping<string, string> usermeta; | |
- /* | |
+ /* |
This file contains hidden or 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
# Right turn directions | |
TURN_DIR = { | |
'u': 'r', | |
'r': 'd', | |
'd': 'l', | |
'l': 'u', | |
} | |
# Right turn coordinate math | |
TURN_FN = { |
This file contains hidden or 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains hidden or 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains hidden or 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains hidden or 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This uses the architectural proposal format found here: https://github.com/CMSgov/easi-app/blob/master/docs/adr/index.md
Proposal to adopt the OpenRPC standard across KBase services and (eventually) apps.
OpenRPC defines a JSON-RPC 2.0 API along with JSON-Schema draft07 schemas for the parameter and result content.
There exists some JS tooling for OpenRPC, but not for Python. We would need a library similar to jsonrpcbase that is able to read an OpenRPC document to generate a set of validated methods while staying transport layer agnostic.
This file contains hidden or 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |