~skye/cal/run/index.cal

view raw


#!/export/home/skye/.cargo/bin/cali -t
<!DOCTYPE html>
<html>
	<head>
		<title>skylar bleed</title>
		<meta charset="utf-8">
		<style>
			:root {
				--w: 520px;
			.blue {
				color: #0000aa;
			}
			.w {
				padding: 10px;
			}
			.l {
				width: var(--w);
				float: left;
			}
			.r {
				margin-left: var(--w);
			}
		</style>
	</head>
	<body>
		<div class="w">
			<div class="l">
				<img src="pic/ref/id.gif">
			</div>
			<div class="r"><pre><?
			(---):{ c: _(#y)%x
      			      ; c|||y
      			      };
			rc:{(`c)$97?121};

			r:30;
			c:80;
			p:8;
			m:r---rc' !r*c;

			b:{"<span class=\"blue\">",x,"</span> "};
			a:{ "<a href=\"",
			    z,
			    "\" target=\"_blank\">",
			    x,"</a> <span class=\"blue\">",
			    y,
			    "</span> "
			  };

			mkbln:{(rc' !p)," ",(b. ,x),rc' !(-2+p)+c- #x};
			mkaln:{(rc' !p)," ",(a. ,x),rc' !(-3+p)+c- #(x,y)};

			(m;5)::mkbln. ,"skylar bleed";
			(m;6)::mkbln. ,
			    "19/f/chicago. any/all. musician & computer whisperer."
			    ;
			(m;7)::mkbln. ,"unix k rust c haskell";

			(m;9):: mkbln. ,"projects:";
			(m;10)::mkaln  [ "badboy institute"
			               ; "my personal web suite"
			               ; "http://badboy.institute"
		        	       ];
			(m;11)::mkaln. ( "badboy git"
			               ; "free and open source git service"
			               ; "http://git.badboy.institute"
			               );
			(m;12)::mkaln. ( "cal"
			               ; "cool array language"
			               ;"http://git.badboy.institute/~skye/cal"
			               );

			(m;14)::mkbln. ,"crates:";
			(m;15)::mkaln. ( "c_a_l"
			               ; "cal but also a library"
			               ; "https://crates.io/crates/c_a_l"
			               );

			<<"\n"/m;
			?></pre></div>
		</div>
	</body>
</html>