Skip to content

Commit

Permalink
Initial public upload of TSS
Browse files Browse the repository at this point in the history
  • Loading branch information
EdNutting committed May 8, 2016
1 parent 1b7cf28 commit cc2545b
Show file tree
Hide file tree
Showing 390 changed files with 24,273 additions and 0 deletions.
276 changes: 276 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# ignore external occam files
*.ext.occ
# ignore compiled assembly code
*.auto.s
*.asm
###

*.class

# Mobile Tools for Java (J2ME)
Expand All @@ -10,3 +17,272 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*


# Created by .ignore support plugin (hsz.mobi)
### Eclipse template
*.pydevproject
.metadata
.gradle
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath

# Eclipse Core
.project

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# JDT-specific (Eclipse Java Development Tools)
.classpath

# Java annotation processor (APT)
.factorypath

# PDT-specific
.buildpath

# sbteclipse plugin
.target

# TeXlipse plugin
.texlipse
### CMake template
CMakeCache.txt
CMakeFiles
CMakeScripts
cmake_install.cmake
install_manifest.txt
### Kate template
# Swap Files #
.*.kate-swp
.swp.*
### Windows template
# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

### OSX template
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### LibreOffice template
# LibreOffice locks
.~lock.*#
### SublimeText template
# cache files for sublime text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache

# workspace files are user-specific
*.sublime-workspace

# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project

# sftp configuration file
sftp-config.json

# Word temporary
~$*.doc*

# Excel temporary
~$*.xls*

# Excel Backup File
*.xlk
### TextMate template
*.tmproj
*.tmproject
tmtags
### Emacs template
# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*

# Org-mode
.org-id-locations
*_archive

# flymake-mode
*_flymake.*

# eshell files
/eshell/history
/eshell/lastdir

# elpa packages
/elpa/

# reftex files
*.rel

# AUCTeX auto folder
/auto/

# cask packages
.cask/

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*
### Vim template
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist

### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio

*.iml

## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries

# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml

# Gradle:
# .idea/gradle.xml
# .idea/libraries

# Mongo Explorer plugin:
# .idea/mongoSettings.xml

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
### Maven template
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
### C template
# Object files
*.o
*.ko
*.obj
*.elf

# Precompiled Headers
*.gch
*.pch

# Libraries
*.lib
*.a
*.la
*.lo

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex

# Debug files
*.dSYM/

# Un-ignore the Maven wrapper
!maven-wrapper.jar
.vagrant

# Virtualenv
.venv/
Binary file added .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
1 change: 1 addition & 0 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.3/apache-maven-3.3.3-bin.zip
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: java
jdk:
- oraclejdk8
notifications:
email: false

cache:
directories:
- $HOME/.m2
3 changes: 3 additions & 0 deletions ASM Generator TODO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
InitChannel
LoadChannelRef
LoadPortRef
46 changes: 46 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# TSS-COMS20805

[![Build Status](https://travis-ci.com/sammhicks/TSS-COMS20805.svg?token=dbgXCzPBz3EpuBEbnqMF&branch=master)](https://travis-ci.com/sammhicks/TSS-COMS20805)
[![Codacy Badge](https://api.codacy.com/project/badge/grade/90ae6f82c1e34063a3810125d65571ea)](https://www.codacy.com)

The tss Occam Toolchain allows you to compile and assemble Occam 2.1 for the Transputer/OpenTransputer. It also includes a simulator for testing those programs.

## Project status

### Compiler

* Handles most of the Occam 2.1 language
* No type checking
* Incomplete IO support

### Assembler

* Fully supports Transputer assembly
* Supports OpenTransputer channel configuration
* Produces binaries that run on the simulator
* Does not yet produce binaries that run directly on the Transputer or OpenTransputer hardware

### Simulator

* Supports most of the Transputer features
* Limited debugging support
* Supports multiple-Transputer execution and communication

## Acknowledgements

This project relies on a number of excellent libraries.

* [ANTLR](http://www.antlr.org/) (BSD)
* [JUnit](http://www.junit.org/) (Eclipse Public License 1.0)
* [antlr-denter](https://github.com/yshavit/antlr-denter) (MIT)
* [gson](https://github.com/google/gson) (Apache 2.0)
* [AssertJ](http://joel-costigliola.github.io/assertj/) (Apache 2.0)
* [FindBugs](http://findbugs.sourceforge.net/) (LGPL)
* [jopt-simple](https://pholser.github.io/jopt-simple/) (MIT)
* [snakeyaml](https://bitbucket.org/asomov/snakeyaml) (Apache 2.0)

### Other

* Maven
* pegdown-doclet
* javafx-maven-plugin
14 changes: 14 additions & 0 deletions assignment.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
init:
ajw -5
ldc 1
stl 4
ldc 2
stl 3
ldc 3
stl 2
ldl 2
stl 4
ajw 5
ret


Loading

0 comments on commit cc2545b

Please sign in to comment.