Skip to content

Simple Calc implementing Shunting yard algorithm. Written in PHP (Nette Framework)

Notifications You must be signed in to change notification settings

keyBeatz/simple-php-shunting-yard-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Calculator in Nette

This app is an example of implementing Shunting-yard algorithm in PHP. I'm also providing a simple user interface based on Nette controls. All commands below are executable in Bash.

Installation

Clone this repo into your directory.

$ composer install

Create writable directories temp/ and log/.

$ chmod -R a+rw temp log
# if you are using selinux run this
$ chcon -R -t httpd_sys_content_rw_t temp log

Create an empty config.local.neon file

$ touch app/config/config.local.neon

Using web interface

Open your project in web browser and you should see calc interface.

Running tests

$ sh tests.sh

About

Simple Calc implementing Shunting yard algorithm. Written in PHP (Nette Framework)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published