Skip to content

Instantly share code, notes, and snippets.

@RubenSandwich
Last active January 18, 2017 16:44
Show Gist options
  • Save RubenSandwich/a8da66cfc87bfb982a1f1d30f129e255 to your computer and use it in GitHub Desktop.
Save RubenSandwich/a8da66cfc87bfb982a1f1d30f129e255 to your computer and use it in GitHub Desktop.
Code & Supply Eve intro
# Eve Intro
Welcome to Eve.
We are going to be going through this document as a group. But if you feel like I'm going to slow, feel free to zip ahead. After this short intro to Eve concepts their will be some workshop problems to help reinforce learning, those will not be done as a groups unless you like the person next to you. (I never do.)
If you ever have questions about one of the concepts in here feel free to raise your hand and ask. The one thing I ask about questions is that wait until I introduce a concept before asking questions about it. If I haven't introduced a concept your curious about then please wait till the workshop problem time begins and call me over or find me after the talk.
With pleasantries out of the way let's learn some Eve!
# Records
Anything between square brackets, for example
`[name: “Ruben”]`
is a Record.
Records are the facts or variables of Eve, they are how you store data that is important to you.
Records store data in a attribute value pair:
~~~eve disabled
[ string: “Value”, num: 2017, list: (1, 2, 3), boolean: false, record: [data: 23] ]
~~~
Records can store numbers, strings, booleans, lists, or even other records.
Records are usually given tags, which begin with a hashtag: #, to help find query or find them:
~~~eve disabled
[ #me #hashTagsAreSo2007 lameJoke: true, name: “Ruben” ]
// Which is just a shorthand way of doing:
[ tag: ”me”, tag: ”hashTagsAreSo2007”, lameJoke: true, name: “Ruben” ]
~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment