Skip to content

Commit f078c0a

Browse files
committed
add syntax reference
1 parent f1dad74 commit f078c0a

File tree

2 files changed

+96
-171
lines changed

2 files changed

+96
-171
lines changed

css/style.css

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/* http://meyerweb.com/eric/tools/css/reset/
2+
v2.0 | 20110126
3+
License: none (public domain)
4+
*/
5+
6+
html, body, div, span, applet, object, iframe,
7+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8+
a, abbr, acronym, address, big, cite, code,
9+
del, dfn, em, img, ins, kbd, q, s, samp,
10+
small, strike, strong, sub, sup, tt, var,
11+
b, u, i, center,
12+
dl, dt, dd, ol, ul, li,
13+
fieldset, form, label, legend,
14+
table, caption, tbody, tfoot, thead, tr, th, td,
15+
article, aside, canvas, details, embed,
16+
figure, figcaption, footer, header, hgroup,
17+
menu, nav, output, ruby, section, summary,
18+
time, mark, audio, video {
19+
margin: 0;
20+
padding: 0;
21+
border: 0;
22+
font-size: 100%;
23+
font: inherit;
24+
vertical-align: baseline;
25+
}
26+
/* HTML5 display-role reset for older browsers */
27+
article, aside, details, figcaption, figure,
28+
footer, header, hgroup, menu, nav, section {
29+
display: block;
30+
}
31+
body {
32+
line-height: 1;
33+
}
34+
ol, ul {
35+
list-style: none;
36+
}
37+
blockquote, q {
38+
quotes: none;
39+
}
40+
blockquote:before, blockquote:after,
41+
q:before, q:after {
42+
content: '';
43+
content: none;
44+
}
45+
table {
46+
border-collapse: collapse;
47+
border-spacing: 0;
48+
}
49+
50+
* { box-sizing: border-box; }
51+
52+
body { display: flex; flex-direction: column; margin: 0; background: white; color: #555; line-height: 1.7; font-family: "Open Sans", Avenir, "Helvetica neue", sans-serif;}
53+
54+
h1 { padding: 0; margin: 0; margin-bottom: 15px; font-size: 2em; font-weight: 600;}
55+
56+
h2 { padding: 0; margin: 0; margin-bottom: 15px; font-size: 1.5em;}
57+
58+
h3 { padding: 0; margin: 0; margin-bottom: 15px; font-size: 1em; color}
59+
60+
p {
61+
display: block;
62+
-webkit-margin-before: .5em;
63+
-webkit-margin-after: 1em;
64+
-webkit-margin-start: 0px;
65+
-webkit-margin-end: 0px;
66+
}
67+
68+
a { color: rgb(0, 158, 224); }
69+
a:hover { color: rgb(0, 184, 241); }
70+
a:active { color: rgb(0, 121, 177); }
71+
72+
ul { display: block; margin-left: 2em; }
73+
74+
code { padding: 0.2em; background: #f0f2f7; white-space: pre-wrap; font-family: "Inconsolata", "Monaco", "Consolas", "Ubuntu Mono", monospace; font-size: 0.9rem; }
75+
76+
strong { font-weight: 600; }
77+
78+
table { border: 1px black solid; margin-bottom: 1em; }
79+
td { border: 1px black solid; width: 20em; }

v0.3/syntaxreference/index.html renamed to v0.3/syntaxreference.md

Lines changed: 17 additions & 171 deletions
Original file line numberDiff line numberDiff line change
@@ -1,160 +1,11 @@
1-
<!DOCTYPE html>
2-
3-
4-
5-
6-
<html class="no-js">
7-
8-
<head lang="en-us">
9-
<meta charset="utf-8">
10-
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1">
11-
<meta http-equiv="X-UA-Compatible" content="IE=10" />
12-
<title>Syntax Ref - Eve Documentation</title>
13-
<meta name="generator" content="Hugo 0.19" />
14-
15-
16-
<link rel="canonical" href="http://docs-next.witheve.com/v0.3/syntaxreference/">
17-
18-
<meta name="author" content="Eve">
19-
20-
21-
<meta property="og:url" content="http://docs-next.witheve.com/v0.3/syntaxreference/">
22-
<meta property="og:title" content="Eve Documentation">
23-
24-
<meta name="apple-mobile-web-app-title" content="Eve Documentation">
25-
<meta name="apple-mobile-web-app-capable" content="yes">
26-
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
27-
28-
<link rel="shortcut icon" type="image/x-icon" href="http://docs-next.witheve.com/v0.3/images/favicon.png">
29-
<link rel="icon" type="image/x-icon" href="http://docs-next.witheve.com/v0.3/images/favicon.png">
30-
31-
<style>
32-
@font-face {
33-
font-family: 'Icon';
34-
src: url('http://docs-next.witheve.com/v0.3/fonts/icon.eot?52m981');
35-
src: url('http://docs-next.witheve.com/v0.3/fonts/icon.eot?#iefix52m981')
36-
format('embedded-opentype'),
37-
url('http://docs-next.witheve.com/v0.3/fonts/icon.woff?52m981')
38-
format('woff'),
39-
url('http://docs-next.witheve.com/v0.3/fonts/icon.ttf?52m981')
40-
format('truetype'),
41-
url('http://docs-next.witheve.com/v0.3/fonts/icon.svg?52m981#icon')
42-
format('svg');
43-
font-weight: normal;
44-
font-style: normal;
45-
}
46-
</style>
47-
48-
<link rel="stylesheet" href="http://docs-next.witheve.com/v0.3/stylesheets/application.css">
49-
<link rel="stylesheet" href="http://docs-next.witheve.com/v0.3/stylesheets/temporary.css">
50-
<link rel="stylesheet" href="http://docs-next.witheve.com/v0.3/stylesheets/palettes.css">
51-
<link rel="stylesheet" href="http://docs-next.witheve.com/v0.3/stylesheets/highlight/highlight.css">
52-
53-
54-
55-
56-
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Ubuntu:400,700|Ubuntu&#43;Mono">
57-
<style>
58-
body, input {
59-
font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
60-
}
61-
pre, code {
62-
font-family: 'Ubuntu Mono', 'Courier New', 'Courier', monospace;
63-
}
64-
</style>
65-
66-
67-
<script src="http://docs-next.witheve.com/v0.3/javascripts/modernizr.js"></script>
68-
69-
70-
71-
</head>
72-
<body class=" ">
73-
74-
<div class="layer-wrapper header-wrapper">
75-
<header class="layer">
76-
<a href="http://witheve.com">
77-
<div class="logo">
78-
<img src="https://witheve.github.io/assets/images/logo_square.png" />
79-
<h1><img alt="EVE" src="http://docs-next.witheve.com/v0.3/images/eve.svg" /></h1>
80-
</div>
81-
</a>
82-
<div class="flex-spacer"></div>
83-
<nav>
84-
<a class="btn rounded cta secondary play-cta" href="http://play.witheve.com">Play</a>
85-
86-
<a href="http://incidentalcomplexity.com">Blog</a>
87-
<a href="http://docs-next.witheve.com">Docs</a>
88-
<a href="https://groups.google.com/forum/#!forum/eve-talk">Community</a>
89-
</nav>
90-
</header>
91-
</div>
92-
93-
94-
95-
96-
97-
98-
<main class="main layer-wrapper">
99-
<div class="toplayer">
100-
<div class="drawer">
101-
<div aria-label="Navigation">
102-
103-
<div class="scrollable">
104-
<div class="wrapper">
105-
106-
107-
108-
<div id="sidebar" class="nav-collapse">
109-
<ul class="sidebar-menu">
110-
111-
112-
113-
<li class="sub-menu active">
114-
<a href="http://docs-next.witheve.com/v0.3/" class="">
115-
116-
<span class="colored">Introduction</span>
117-
<span class="menu-arrow arrow_carrot-right"></span>
118-
</a>
119-
<ul class="sub">
120-
121-
<li><a href="http://docs-next.witheve.com/v0.3/install/"> Installation </a> </li>
122-
123-
124-
<li><a href="http://docs-next.witheve.com/v0.3/tutorials/quickstart.eve/"> Quickstart </a> </li>
125-
126-
127-
<li class="active selected"><a href="http://docs-next.witheve.com/v0.3/syntaxreference/"> Syntax Ref </a> </li>
128-
129-
130-
</ul>
131-
</li>
132-
133-
134-
135-
<li>
136-
<a class="" href="http://docs-next.witheve.com/v0.3/handbook/libraries">
137-
138-
<span class="colored">Library</span>
139-
</a>
140-
</li>
141-
142-
143-
</ul>
144-
</div>
145-
146-
</div>
147-
</div>
148-
</div>
149-
</div>
150-
<article class="article">
151-
<div class="wrapper">
152-
153-
154-
155-
<h1 id="syntax-reference">Syntax Reference</h1>
156-
157-
<h2 id="records-and-patterns">Records and Patterns</h2>
1+
---
2+
layout: default
3+
title: Syntax Reference
4+
---
5+
6+
<link rel="stylesheet" type="text/css" href="{{ site.url}}/css/style.css">
7+
8+
## Records and Patterns
1589

15910
<table>
16011
<tr>
@@ -289,7 +140,8 @@ <h2>
289140
290141
</table>
291142
292-
<h2 id="not">Not</h2>
143+
144+
## Not
293145
294146
<table>
295147
@@ -302,12 +154,12 @@ <h2 id="not">Not</h2>
302154
303155
</table>
304156
305-
<h2 id="if-then-and-if-else">If&hellip;Then and If&hellip;Else</h2>
306-
307-
<p><code>If</code> lets your block try multiple branches for a variable. If every branch has no matches, the block fails.</p>
157+
## If...Then and If...Else
308158
309159
<table>
310160
161+
<tr><td><em><code>If</code> lets your block try multiple branches for a variable. If every branch has no matches, the block fails.</em></td></tr>
162+
311163
<tr>
312164
<td><code>If … else</code> lets you express ordered choice. <strong>Only the first branch</strong> with matches will contribute values to the variable.</td>
313165
<td><code></code></td>
@@ -331,7 +183,7 @@ <h2 id="if-then-and-if-else">If&hellip;Then and If&hellip;Else</h2>
331183
332184
</table>
333185
334-
<h2 id="functions-and-aggregates">Functions and Aggregates</h2>
186+
## Functions and Aggregates
335187
336188
<table>
337189
@@ -357,12 +209,12 @@ <h2 id="functions-and-aggregates">Functions and Aggregates</h2>
357209
358210
</table>
359211
360-
<h2 id="update-operators">Update Operators</h2>
361-
362-
<p>Besides creating new records, Eve has four operators to modify existing records in <code>bind</code> or <code>commit</code>.</p>
212+
## Update Operators
363213
364214
<table>
365215
216+
<tr><td><em>Besides creating new records, Eve has four operators to modify existing records in <code>bind</code> or <code>commit</code>.</em></td></tr>
217+
366218
<tr>
367219
<td>(<code>+=</code>) Add value to attribute.</td>
368220
<td><code>chris.likes += “pizza”</code></td>
@@ -401,9 +253,3 @@ <h2 id="update-operators">Update Operators</h2>
401253
</tr>
402254
403255
</table>
404-
405-
406-
</div>
407-
</article>
408-
</div>
409-
</main>

0 commit comments

Comments
 (0)