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
import Text.ParserCombinators.Parsec | |
data Query = And Query Query | |
| Or Query Query | |
| Not Query | |
| Statement String deriving (Show) | |
andParser = do | |
arg1 <- statementParser | |
string " AND " |
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
<?php | |
while(1){echo"> ";$i=rtrim(stream_get_line(STDIN,512,PHP_EOL),';');try{@eval('print_r('.$i.');');}catch(Exception$e){print_r($e);}echo"\n";} |
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
#!/usr/bin/env guile -s | |
!# | |
(use-modules | |
(srfi srfi-1) | |
(ice-9 rdelim)) | |
(define words-path "words.txt") | |
(define random-word-from-file |
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
(define create-coord | |
(lambda (x y) | |
(list x y))) | |
(define get-x | |
(lambda (coord) | |
(car coord))) | |
(define get-y | |
(lambda (coord) |
OlderNewer