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: 752 All time: 4,454 This week: 191Up
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: United States United States
Age: 45
All time rank: 46057 in United States United States
Week rank: 287 Up26 in United States United States 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:752
This week:0
All time:4,454
This week:191Up