harmoniouscode/README

45 lines
1.6 KiB
Plaintext
Raw Normal View History

2008-10-09 00:03:08 +00:00
Harmonious Code's internals are currently a complete mess. You have been warned.
2008-10-08 23:54:28 +00:00
2008-10-09 00:03:08 +00:00
To build & use Harmonious Code on Unix-like operating systems:
* Make sure you're running haXe 2.
* Download the PHP documentation from CVS.
2008-10-08 23:54:28 +00:00
* Copy/symlink the phpdoc/phpbook/phpbook-xsl/version.xml file from the
2008-10-09 01:20:30 +00:00
PHP documentation into the data directory as version.xml.
2008-10-09 00:03:08 +00:00
* Run build/test.sh. This will take a while as functions_tokens_cache.hxd is
built in the data directory. It will also ensure everything's working
correctly.
* Run build/javascript.sh. The harmoniouscode.js file will be generated
in htdocs.
* Open htdocs/index.html and try analyzing some PHP code.
* Run build/command_line.sh and pass the path to a PHP file as the first
parameter. A basic analysis should appear.
2008-10-09 01:20:30 +00:00
To automatically ignore certain tokens and modules, place lines like
the following in your code:
* To globally ignore a token (ex: json_decode()), place at the top of
the file the following:
//harmonious json_decode
* To ignore a token within a block of code, surround the code in the
following:
//harmonious json_decode
...your code...
//harmonious_end
* To ignore a particular module throughout the code (ex: maxdb), place
at the top of the file the following:
//harmonious @maxdb
2008-10-09 00:03:08 +00:00
No build instructions for Windows yet, but Cygwin + haXe for Windows should
be able to perform the build.
2008-10-09 00:05:34 +00:00
Patches and comments are welcomed - send them to john@coswellproductions.com.
2008-10-09 00:03:08 +00:00
Visit http://harmoniouscode.coswellproductions.com/. Tell your friends.
Harmonious Code is Copyright 2008 John Bintz.