Completed

Traits and Other Language Extensions for the Programming Language XTend

This project was successfully completed by tarun308 for $7 USD / hour in 40 days.

Get free quotes for a project like this
Employer working
Completed by:
Skills Required
Project Budget
$7 USD / hour
Completed In
40 days
Total Bids
1
Project Description

This project involves creating divers APIs and compiler plugins, to extend to JVM programming language XTend. The following tasks are to be done:

* Refactor a pre-existing open-source Java Functor API, to be used in the rest of this project.
* Using XTend's active annotation processors, modify interfaces written in XTend to behave mostly like Scala's traits, This involves modifying the interface definition, and generating an implementation for it (or possibly even multiple implementations). The traits must support multiple-inheritance, like in Scala.
* Use the pre-existing Meta-Info API to annotate the types, field and methods that to be modified.
* Extend the original Java-like generic capabilities, with real templates, that are closer to the C++ templates and macros.
* Implement some form of typedefs, like is found in C++, with support for primitive types.
* Implement implicit type-to-boolean conversion, as is found in Python.
* Implement Value classes like in Scala
* Automatically generate serialization code for trait implementations.
* Optionally, implement conditional compilation, similar to C++ (might already be possible)

The expected project duration is 2 or 3 weeks.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online