You are here:
(12 Apr 2013, MartijnSchrage)
NOTE: Proxima is no longer actively maintained, but you can still build it on ghc 6.10.4. The Utrecht University Attribute Grammar Compiler (uuagc) and the Lexer generator Alex are required. Install the appropriate versions with: <pre> cabal install uuagc-0.9.13 alex-2.3.1 </pre> ---++++Checking out Proxima consists of a generic part and a specific editor instantiation. Currently, the generic directory must reside in the =src= subdirectory of the instantiation, because tools used for development expect all sources to be in the directory tree of the instantiation. The path to the instantiation directory will be denoted by =$instantiation= and the path to the Proxima directory by <tt>$proxima</tt>. Because the Proxima directory is in a subdirectory of the instantiation, we have <tt>$proxima</tt> = =$instantiation/src/proxima=. First, check out the proxima generator from Subversion: <pre> svn checkout svn://svn.oblomov.com/Proxima/generator/trunk generator </pre> Then, check out one of the editor instantiations: <pre> svn checkout svn://svn.oblomov.com/Proxima/declarationForm </pre> or <pre> svn checkout svn://svn.oblomov.com/Proxima/heliumEditor </pre> or <pre> svn checkout svn://svn.oblomov.com/Proxima/dazzleEditor </pre> Through the SVN externals mechanism, the generic Proxima directory are automatically checked out in the =src= directory of the instantiation (for the Helium editor this also includes the sources for the Helium compiler). ---++++ Building Proxima To compile Proxima, we first need to compile and install the generator. Type: <pre> cd generator cabal install cd .. </pre> Now we can build the instantiation: <pre> cd $instantiation cabal configure cabal build </pre> The executable will be present in the =$instantiation/build/dist/= directory. It should be called from root of the instantiation directory. ---++++ Miscellaneous The =src/proxima/etc/fonts= directory in the instantiation directory contains the fonts "Chess Font" and "Symbol", wich need to be installed on your system in order to use the Helium editor. -- Main.MartijnSchrage - 23 Jul 2009
ore topic actions
Topic revision: r38 - 12 Apr 2013, MartijnSchrage
Building an editor
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding UUCS?