Skip to content

A simple programming language developed and encapsulated in Scala.

Notifications You must be signed in to change notification settings

dilyar85/Jacala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Jacala is a simple programming language similar to other modern languages. It is developed and encapsulated in Scala. It supports following features:

  • Arithmetic, logic, and declarations, typed in single line or blocks
  • Execution of loops, lambda expressions, and recursive functions
  • Variable assignment, object construction, and dereferencing
  • Eager execution, lazy execution, and dynamic type checking

How to run it

Make sure you have sbt on your machine. If not, you can install it shown as below:

$ brew update
$ brew install scala
$ brew install sbt

Under the Jacala project path, run it using sbt

$ sbt 
$ run

If you typed everything correctly, you would see Running system.console on your terminal

Demo

Declaration with arithmetic

Declaration with arithmetic


Logic

logic screenshot


If Statement

if statement screenshot


Block

block screenshot


Lambda Function

Lambda Function screenshot


Recursive Function

recursive function screenshot


Variable Assignment

var assignment screenshot


While Loops

while loops screenshot

About

A simple programming language developed and encapsulated in Scala.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages