Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

87
LINES

< > BotCompany Repo | #3000483 // Smart Bot's answer to: !fresh linesWithSpaces(termsContainingAllJavaTokens("if", "then"))

New Tinybrain snippet

[14363 ms] !store-triple "#guessed language is german" -> if then -> #say "Sorry, I don't speak German"

!store-triple {a and b} is true -> if X then Y -> {a is true} and {b is true}

!store-triple {a is true} and {b is true} -> if X then Y -> {a and b} is true

"!eval flexMatchIC(/"if * then * endif/", loadSnippet(#1011999))"

"!eval getFlexMatchIC(/"if * then * endif/", loadSnippet(#1011999))"

[[
If   swic(trimFirstLine(#input), "If ")
and  swic(trimLastLine(#input), "then ")
then (#input is multiline-if-then)
]] -> is -> the multiline-if-then-rule

[[
If   swic(trimFirstLine(#input), "If ")
and  swic(trimLastLine(#input), "then ")
then (#input is multiline-if-then)
]] is the multiline-if-then-rule

[[If  (swic(trimFirstLine(#input), "If ")
and  (swic(trimLastLine(#input), "then ")
then (#input is multiline-if-then)]] -> is -> the multiline-if-then-rule

[[If  (swic(trimFirstLine(#input), "If ")
and  (swic(trimLastLine(#input), "then ")
then (#input is multiline-if-then)]] is the multiline-if-then-rule

[if, "what is 2+2", then, "4. duh"]

an if-then pattern

an if-then pattern -> is -> a pattern

an if-then pattern is a pattern

if  (Unix is the best operating system)
then (Unix

if  (Unix is the best operating system)
then (Unix is an operating system)

if (Unix -> is -> the best operating system) then (Unix

if (Unix -> is -> the best operating system) then (Unix is an operating system)

if * then * endif

if * then * endif" flexMatchI"

if * then * endif" is an if patter"

if * then * endif" with flexMatchI"

if * then * endif" with flexMatchIC is an if patter"

if * then * endif/" flexMatchI/"

if * then * endif/" with flexMatchI/"

if then

if X then Y

if {$X is too big} then {$X does not fit

if {$X is too big} then {$X does not fit in $Y}

if {(Unix is the best operating system)
then (Unix is an operating system)}

if {(Unix is the best operating system)
then (Unix}

if {* then * endif" with flexMatchI"}

if {* then * endif}

if {X then Y}

if {{$X is too big} then {$X does not fit in $Y}}

if-then pattern

the multiline-if-then-rule

download  show line numbers   

Snippet is not live.

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #3000483
Snippet name: Smart Bot's answer to: !fresh linesWithSpaces(termsContainingAllJavaTokens("if", "then"))
Eternal ID of this version: #3000483/1
Text MD5: 5ce1760ad71046478f2d69a45ab3c0fa
Author: someone
Category:
Type: New Tinybrain snippet
Gummipassword: smart-bot-for-user
Uploaded from IP: 178.3.148.72
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-19 00:52:37
Source code size: 2081 bytes / 87 lines
Pitched / IR pitched: No / No
Views / Downloads: 300 / 94
Referenced in: [show references]