Giter VIP home page Giter VIP logo

unisonexamples's Introduction

How to start coding

unisonlogo

An unnoficial guide

made my beginners for beginners.

First let's install Atom, which is the IDE we are going to use. Then let's add the color sintax for the language, and finally let's download the base library and run the tests. Run this script to do all these things at once!

CURRENTDIR=$PWD

WORKDIR=/tmp/unison
mkdir $WORKDIR
cd WORKDIR

echo "Installing ATOM IDE..."
sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom
echo "Successfully installed ATOM IDE on your computer. Try atom to test it."

echo "Installing UNISON..."
RELEASE=https://github.com/unisonweb/unison/releases/download/release%2FM1d/unison-linux64.tar.gz  &&
curl -L $RELEASE | tar -x -z  &&
sudo mv ucm /usr/bin/ &&
echo "Successfully installed UNISON on your computer. Try ucm to test it."

git clone https://github.com/unisonweb/unison &&
cd unison/editor-support/atom/language-unison/ &&
apm link &&
cd -


ucm
pull https://github.com/unisonweb/base .base
test
execute !helloWorld

Examples

  • Let's make a wordcounter!
    • /examples/helloWorld0 Say hello
    • /examples/helloWorld1 Make your first function
    • /examples/helloWorld2 Read a file
    • /examples/helloWorld3 Split words by separator
    • /examples/helloWorld4 Read a file and count its words

unisonexamples's People

Contributors

marcelomanuelbaraschi avatar miguelemosreverte avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.