Getting Started

From Erights

Revision as of 12:53, 29 November 2006 by Mscheffler (Talk)
Jump to: navigation, search

I wish someone had told me...

Where to start

  • You should have basic knowledge of Java and its class path system.
  • Download and install E
  • Read the Walnut - it is the most concise text on the E language and library.
  • Bookmark the ELib api
  • Either download the E source or open the e.jar (for example with unzip) and take a look around
  • You can get informations about E objects by using the help() method. For example, open rune and enter
    . You will get information about the ConstList class and its methods.
  • Take a look at the file org.erights.e.elang.syntax/syntax-props-default.txt. It contains information about various language constructs not explained elsewhere at this point. Here is the version of the file included in E version 0.8.37b.
  • The source also contains a number of emakers that can be used when developing programs. For example:
    • org.erights.e.facet.makeStoneCast.emaker: An implementation of the Facets pattern
    • org.erights.e.facet.makeCaretaker.emaker: An implementation of the [Capabilities] pattern
    • org.erights.e.elib.slot.makeLamportSlot.emaker: An implementation of the EverReporter pattern/interface

Other things you should know

  • How to declare a Java class as safe for importing: Create a file with the extension .safej and save it to the same class path location as the java class you want to declare as safe. In the .safej file you can declare methods of that class as allowed or rejected. The Java constructors
Personal tools
more tools