Skip to content

elorense/Yail-to-JavaBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yail-to-JavaBridge

This is a program that will take as input a Yail file (AppInventor's backend language), and translate it into JavaBridge(Java library for writing Android applications). This was written to include into MIT's (Formerly Google's) web application called AppInventor. AppInventor lets users create Android applications using a visual "blocks" based language. My main contributions to this project was the parser that is used to parse Yail files, and generate the data-structure used to output the proper translated code. This can be found in the YailParser.jj file, the classes it generates after compilation, and in AppInventorScreen.java. This was written in JavaCC.

  • AppInventorProject.java is the driver class
  • Program expects a yail file as input
  • Sample Yail file included (molemash.yail)

Live version is up at http://usfaicg.appspot.com/

Parser files can be found in: src/org/translator/parser

Translator files can be found in: src/org/translator/java

About

Yail to Java Bridge program. Used to translate AppInventor blocks to Java Bridge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages