1 / 9

CSWF C - s harp w eb f ramework

CSWF C - s harp w eb f ramework. CSharp to JavaScript compiler Tzah Granot David Pankovski Assaf Elazar. VISION. Java Script is a scripting 3-paradigm language , dynamically typed, prototype based, that is widely used to give functionality to web pages.

ide
Download Presentation

CSWF C - s harp w eb f ramework

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSWFC-sharp web framework CSharp to JavaScript compiler Tzah Granot David Pankovski AssafElazar

  2. VISION Java Script is a scripting 3-paradigm language, dynamically typed, prototype based, that is widely used to give functionality to web pages. C# is a multi-paradigm programming language, statically typed, class based, and widely used. Our vision is to allow programmers to write complex web application in C#. This allows to write easier and intuitive, to maintain and testable code, and also use reflection.

  3. Problem domain

  4. Main Parts Compiler (syntactic analysis, semantic analysis and code generation) 2. Standard library 3. Developing environment (includes visual studio template)

  5. Functional Requirements • Compiler requirements: • We will support the entire C# 3.0 syntax except the following: • Struct Types • Unsafe code, pointer types, pointer conversions and expressions • Goto statements • Thread management and lock statements • Operator overloading • Class Destructors

  6. Functional Requirements • Standard library requirements: • .NET Framework: • mscorlib.dll 4.0 assembly • Most of System namespace • Most of System.Collections namespace • Most of System.Collections.Generic namespace • System.dll 4.0 assembly • Most of System.Collections.Genericnamespace • System.Core.dll 4.0 assembly • Most of System.Collections.Genericnamespace • Most of System.Linq namespace • Browser JavaScript: • Most of org.w3c.dom interfaces • RPC functionality

  7. Functional Requirements • IDE requirements: • Visual Studio template • MsBuild targets file

  8. Non-Functional Requirements • The compiler must be extremely reliable • The usability of the compiler must be easy to every web developer, even ones who are not familiar with JavaScript.

  9. Use case diagram

More Related