Skip to content

tariqzafar007/P-star-1

 
 

P*

P* (P-star) is a web programming language whith in language-support for things like HTML templates and database handling.

P is currently under development and help is needed!*

Things to-be-made:

  • Real Windows-port (.msi-package, fix MySQL-build)
  • OS X port
  • Port to Ubuntu, Fedora
  • Charset compatibilty
  • Testing (make som web sites!!!)

Building and running P*

To build and run P*, you need to have the libraries and development packages of mysql-client and mimetic. P* uses C++11 features, so GCC version 4.7 is required. If you use Clang, version 3.2 or higher is needed. You also need autotools installed. This is how you download and build P* using your favourite shell:

git clone https://github.com/atlesn/P-star.git
cd P-star
autoreconf -i
./configure
make install

You should specify an alternative directory to install P* so that you can easily remove it later. This is done by adding prefix=my_directory when running configure, like ./configure --prefix=/usr/test. The files will then be placed in /usr/test/bin and /usr/test/lib.

To run P* when you have specified an alternative install path, you should run this first:

export LD_LIBRARY_PATH=/usr/test/lib
export PATH=$PATH:/usr/test/bin

A P*-program is run like this:

wpl -f my_program.pstar

Using the Apache module

This package provides a module for the Apache-series web server, version 2.2.22 or higher is required. To enable the module after installing P*, run this as root:

a2enmod pstar
service apache2 restart

To tell Apache to run P* scripts, add this directive somewhere in the configuration (usually in , or sections).

AddHandler pstar-handler .pstar

Examples

Take a look in directory "tests" for some examples.

Contacts

About

Main repository for the P* web programming language.

Resources

License

Unknown and 3 other licenses found

Licenses found

Unknown
LICENCE
GPL-3.0
COPYING
Apache-2.0
LICENCE-Apache-2.0
GPL-3.0
LICENSE-GPL-3.0+

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published