Dette emnet er erstattet av IN5570 – Distribuerte objekter.

Emerald

Official webpage for Emerald.

How to innstall Emerald compiler and virtual machine:

Docker:

Mac:

Windows:

Linux:

Installing on Linux: (UIO user)

 

First type in : "gedit ~/.bashrc" in the terminal, eventually use whatever texteditor you want, but in this case I chose gedit!

you first have to say where the emeraldroot path is, and add the given text below on your .bashrc file !
The path is just an example! You need to add Your own absolutepath on EMERALDROOT!
export EMERALDROOT=/$HOME/Path_to_emerald_folder/emerald-0.99-linux
export PATH=$PATH:$EMERALDROOT/bin

Compiling and running:

Hvilken editor er god?:

 

Geany:

Geany is a IDE http://www.geany.org/

Here is a hack to get some syntax highlighting and snippets for emerald in geany.
We are going to replace pascal highlight whit Emerald.
Install geany
download filetypes.pascal , snippets.conf and filetype_extensions.conf
cp snippets.conf $HOME/.config/geany/snippets.conf
cp filetype_extensions.conf $HOME/.config/geany/filetype_extensions.conf
cp filetypes.pascal $HOME/.config/geany/filedefs/filetypes.pascal
Feel free to edit snippets.conf and filetypes.pascal to your own preferences.