Measures Concepts
GitHub icon

HAGGIS

HAGGIS - Programming language

< >

HAGGIS is a programming language created in 2010.

#1235on 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 ยท Search ยท Add Language ยท Features ยท Creators ยท Resources ยท About ยท Blog ยท Acknowledgements ยท Queries ยท Stats ยท Sponsor ยท Day 605 ยท feedback@pldb.io ยท Logout