RSS YouTube LinkedIn Twitter XCore IRC

Search

Projects Forum

Enter your XCore Exchange username.
Enter the password that accompanies your username.

Forgot your password?

Sign up for an account

Things to do: Search all projects, Create a project

Dynamic process creation and the sire language

by Jamie

Version 1

Size: 111.51kb

View older versions

Project Overview

This project is an implementation of a simple imperative programming language called sire that allows the creation and placement of processes across a system at runtime. It includes a complete compiler and accompanying runtime targeted at XS1 devices, but in particular the XMP-64.

In essence, a sire program is compiled into a binary that is loaded only onto node 0, core 0 but when it executes, it is able to transmit descriptions of processes to remote cores in the system and invoke their execution. This is provided in the language by the 'on' statement. For example, the statement 'on 5 do process()' is exactly the same as a regular call 'process()' except that it is executed on the remote core 5, leaving the original core free to get on with other work.

For more details on all of this, a readme file is included in with the source code explaining how to get started with the source code and there are two accompanying documents:
- sire language definition
- sire language implementation notes

Project Website

This project is big enough to have its own website - click here to view it.

Verified to run on

Images and diagrams

Rate this project


5
Average: 5 (3 votes)
Your rating: None

Share this project!

Twitter Icon Share on Twitter

Twitter Icon Share on Facebook

submit to reddit Share on Reddit

Comments / Updates

I'm happy for the source code

I'm happy for the source code to be used however. If there was interest it might be good idea to setup a public repository - for instance to do something more general with the compiler, but in terms of what I'm doing with it, it'll remain quite specific.

Awesome project

This is a fascinating project, I see it is opensourced, will you be putting it on github or similar for contributions (hopes)?

regards
Al

missing ext

Works now, was just missing the '.jsp' me thinks

Works for me

Works for me, I think it has been fixed :-)

404 on web site link

getting a "HTTP Status 404 - /pgrad/hanlon/projects/" on that web site link

X