Last active
October 4, 2015 18:32
-
-
Save tra38/6e163d8241b83ae58301 to your computer and use it in GitHub Desktop.
This file is an example of how Skynet can be used to generate a GG file with simulated recursive grammar
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
ARRAY = [] | |
10.times do |number| | |
ARRAY << "$line#{number}" | |
end | |
puts %{line:= #{ARRAY.join(" ")} } | |
10.times do |number| | |
puts %{ | |
line#{number}:=$greeting\\, $name! } | |
end | |
puts %{greeting:=hi,hello,howdy,ohai,oh hi,good morning,good day,guten morgen,good afternoon,bonjour,aloha | |
name:=Matthew,Mark,Luke,John,James,Judas Iscariot,Lucille Ball} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment