GlaDOS dev-docs
  • Introduction
  • Getting started
    • Pre-requisite
    • Installation
    • Creating our first function
  • Prism's Features
  • Prism Compiler
  • Prism Bytecode File Structure
  • Exeption Handling
  • Grammar language
  • Test Policy
    • Unit & integration tests
    • Continuous Integration and Deployment (CI/CD)
  • Appendix
Powered by GitBook
On this page

Last updated 1 year ago

Before you begin with the installation and usage of this programming language, make sure that you have the following dependencies installed on your system:

  • GHC (Glasgow Haskell Compiler): GHC is the premier Haskell compiler, providing a robust and efficient compilation environment for Haskell programs. Visit the GHC official website () to download and install the latest version of GHC based on your operating system.

  • Stack: Stack is a cross-platform program for developing Haskell projects, providing a consistent and reproducible build environment. You can install STACK by following the instructions on the official STACK website (). The installation process may vary depending on your operating system.

  • Makefile: Makefile is a build automation tool used to compile and build projects. It is often used in conjunction with Haskell projects to streamline the build process. Makefile is typically included with Unix-like operating systems.

Verifying Installation:

After installing the prerequisites, you can verify the installation by running the following commands in your terminal or command prompt:

  • To check GHC installation:

  • To check STACK installation:

  • To check Makefile installation:

Ensure that the reported versions are consistent with the latest versions available on the respective project websites.

Note: It is recommended to refer to the official documentation of each tool for more detailed and up-to-date installation instructions. Additionally, ensure that the required tools are added to your system's PATH environment variable to make them accessible from any directory in your terminal or command prompt.

  1. Getting started

Pre-requisite

ghc --version
stack --version
make --version
https://www.haskell.org/ghc/
https://docs.haskellstack.org/en/stable/README/