Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

HAGGIS

< >

HAGGIS is a programming language created in 2010.

#1030on PLDB 14Years Old

HAGGIS is a high-level reference programming language used primarily to examine Computing Science for Scottish pupils taking SQA courses on the subject. HAGGIS is used as a tool to bridge the gap between pseudocode and typical computer programming. HAGGIS is not based on any one language but a mixture that is intended to allow a pupil familiar with any of the many languages used in classrooms to easily understand the syntactic construct being used in an example. Read more on Wikipedia...


Example from Wikipedia:
CONSTRUCTOR( [Data Type][Data Name], [Data Type][Data Name]...) The users' '''HAGGIS''' code will then go here. END CONSTRUCTOR FUNCTION <Function Name>() RETURN <Data Type> The users' '''HAGGIS''' code will then go here. RETURN THIS <Class Property> END FUNCTION '''“THIS” is used to reference the current object invoking the method.''' PROCEDURE <Procedure Name> () The users' '''HAGGIS''' code will then go here. END PROCEDURE

Language features

Feature Supported Token Example
Comments
''' A comment
'''
MultiLine Comments '''
''' A comment
'''
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 630 · Donate · feedback@pldb.io