Simple Pure ObjectOriented Language - PowerPoint PPT Presentation

1 / 18
About This Presentation
Title:

Simple Pure ObjectOriented Language

Description:

Define a simple syntax - Provide support for Java Standard Library ... Only requires Java support. Possible use in OS and PL courses. Similar Attempts. CLOS , XLISP ... – PowerPoint PPT presentation

Number of Views:452
Avg rating:3.0/5.0
Slides: 19
Provided by: patrickj6
Category:

less

Transcript and Presenter's Notes

Title: Simple Pure ObjectOriented Language


1
Simple Pure Object-Oriented Language
  • By Patrick J. Sparrow

2
What is it?
  • - Idea of Professor Jackowitz

- Simple Syntax
- Pure Object-Orientation
- Support from software library
3
Outline
- Simple
- Pure
- Usefulness
- Similar Attempts
- Current Progress
- Goals
4
The Simple Part
  • - Define a simple syntax

- Provide support for Java Standard Library
  • - Translate source code to Java

5
Simple Syntax
  • - LISP-like

- No abbreviation
- Allow nested statements
6
Support the Java Standard Library
  • The CONSTRUCT instruction

Java statement FileReader F new
FileReader(hello.txt)
7
Support the Java Standard Library
  • The CONSTRUCT instruction

New langauge statement (CONSTRUCT FileReader
F (hello.txt))
8
Support the Java Standard Library
  • The CALL instruction

Java statement String T S.toLowercase()
9
Support the Java Standard Library
  • The CALL instruction
  • New language statement
  • (CONSTRUCT String T (CALL S toLowercase ( ) )

10
Java Translator
  • - Written in Java

- Rich library support
- Uniformity
  • - Allow anyone familiar with Java to understand
    the translation process

11
The Pure Part
  • - Treat everything as an object

- Create a library of new abstractions
12
Treat everything as an object
  • Map intrinsic types to Objects
  • int ? Integer
  • double ? Double
  • char ? Character
  • boolean ? Boolean

13
Library of new abstractions
  • Java classes for entities not found in the Java
    Standard Library

Bit
Processor
Array
Other data structures
14
Usefulness
  • Can be used by anyone
  • Only requires Java support
  • Possible use in OS and PL courses

15
Similar Attempts
  • CLOS , XLISP
  • Allow classes and methods
  • Lack library support

16
Current Progress
  • Near-working simple LISP to Java translator
  • Started research into useful abstractions not
    found in Java

17
Goals
  • Complete basic LISP to Java translator
  • Add CONSTRUCT and CALL support
  • Add if statement support
  • Add looping support
  • Complete a library of new abstractions

18
The end
  • Got Questions???
Write a Comment
User Comments (0)
About PowerShow.com