Skip to content
 
 

Latest commit

 

History

275 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

j2script

Vtables require classes so not doing this week Made some changes to grammar and implimented those changes

Team Members:

Armine Khachatryan
Areeba Waheed
Robert Bedrosian
John Brehm

The grammar:

Grammar

Features

  • Computation Abstraction Non-Trivial Feature: Class-based inheritance

  • Non-Trivial Feature #2: Access Modifiers

  • Non-Trivial Feature #3: Generic Programming

  • Work Planned for Custom Milestone: Generics

Type Checker

  • Variables have the correct type when assigned

  • Variables are defined when assigned

  • Expressions evaluate to the correct type

  • Variables have the correct access for the current scope

  • Classes have the correct access for the current scope

  • Return is called in a method

  • Break is called only within a while loop or if statement

  • Classes must have unique name

  • Variables must have unique name

  • Function calls take expected parameters of expected types

About

Java compiled to Javascript

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages