PHP Classes

BASIC Language Parser: Parse BASIC language statements

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 755 This week: 1All time: 4,456 This week: 102Up
Version License PHP version Categories
basic-parser 1.0Freeware5PHP 5, Parsers
Description 

Author

This class can parse parse BASIC language statements.

It takes a string of BASIC commands and parses them to validate its structure.

Currently the class supports the commands IF, THEN, ELSE, END and DO.

Innovation Award
PHP Programming Innovation award nominee
May 2012
Number 3


Prize: One copy of RadPHP XE2
BASIC is programming language used since many years ago to create scripted applications.

This class provides the beginning of what can be a more complex BASIC language interpreter.

Manuel Lemos
Picture of Muhammad Arfeen
Name: Muhammad Arfeen is available for providing paid consulting. Contact Muhammad Arfeen .
Classes: 9 packages by
Country: Pakistan Pakistan
Age: 46
All time rank: 4614 in Pakistan Pakistan
Week rank: 49 Up2 in Pakistan Pakistan Up
Innovation award
Innovation award
Nominee: 5x

Winner: 1x

Details

Syntax: IF <( ANY CONDITION YOU WANT )> THEN DO <ANY STRING WHICH YOU CAN PARSE> ELSE { DO <ANY STRING WHICH YOU CAN PARSE> | IF <( ANY CONDITION YOU WANT )> } END Example: IF (MY_AGE > 13) THEN DO AGECHECK ELSE IF (MY_AGE > 20) DO ANOTHERROUTINES END END

  Files folder image Files  
File Role Description
Plain text file BasicLanguageParser.php Class Main Class
Accessible without login Plain text file readme.txt Doc. User Guide
Accessible without login Plain text file test.php Example Sample script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:755
This week:1
All time:4,456
This week:102Up