jar2333 / sift

COMSW 4115 Spring 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sift

COMSW 4115 Spring 2022

Anne Zepecki(Manager)
Lama Abdullah Rashed(Tester)
Jose Antonio Ramos(Language Guru)
Suryanarayana Venkata Akella (System Architect)
Rishav Kumar (System Architect)

The current version compiles scanner.mll, parser.mly and ast.ml

TO COMPILE

make

TO RUN THE BUILD

make run

CLEAN THE PREVIOUS BUILD

make clean

Features Supported:

Primitive Datatypes:

  1. Int
  2. Bool
  3. Float
  4. String

Non-primitive datatypes:

  1. Array of Int
  2. Array of Bool
  3. Array of Float
  4. Array of String

Loops and Conditionals

  1. If
  2. If Else
  3. For
  4. While
  5. Continue
  6. Break

Function definitions

Binary Operators

  1. Add
  2. Subtract
  3. Multiplication
  4. Division
  5. Modulo
  6. Equal
  7. Not Equal
  8. Less
  9. Less than Equals
  10. Greater
  11. Greater than Equal
  12. And
  13. Or
  14. Pipe

Testing Overview

Please see Testing.pdf.

Features in Progress

  • Nested array indexing (ast, parser)
  • Allow continue/break only inside while/for (semantics)

About

COMSW 4115 Spring 2022


Languages

Language:OCaml 70.8%Language:C 20.7%Language:Shell 6.8%Language:Makefile 1.0%Language:CMake 0.7%