TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139559 times)
  2. FAT32 Library (72040 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47607 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42551 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26308 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Tool: mikroPascal to mikroBasic convertor

Rating:

10

Author: dany

Last Updated: 2016-02-18

Package Version: 1.6.0.0

Category: Other Codes

Downloaded: 2222 times

Followed by: 1 user

License: MIT license  

Simple mikroPascal for PIC to mikroBasic for PIC source code convertor. The tool can convert complete mP units to mB modules and complete mP programs to mB programs. It can be used both in interactive and batchmode.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Tool: mikroPascal to mikroBasic convertor" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Tool: mikroPascal to mikroBasic convertor" changes.

Do you want to report abuse regarding "Tool: mikroPascal to mikroBasic convertor".

  • Information
  • Comments (5)

Project Blog

This tool is a simple mikroPascal to mikroBasic source code convertor. The tool can convert complete mP units to mB modules and complete mP programs to mB programs. Additionally the possibility exists to convert loose definitions and/or  loose code (not embedded in a program or unit environment).

It can be used both in interactive and batchmode.
Documentation of the convertor.

Have fun!

Pascal to Basic Convertor

Pascal to Basic Convertor

The left part is the Pascal input screen, the right part is the Basic output screen.

View full image

----------------------------------------------------------------------------------------------------------------------------------------------

2013-04-22: New version 1.1. Made the comment processing more robust.

---------------------------------------------------------------------------------------------------------------------------------------------

2013-04-23: Corrected an error in the "#nn" to "chr(nn)" translation.

-----------------------------------------------------------------------------------------------------------------------------------------------

2013-04-25, version 1.2: Added the processing of "downto" in the for statement.

---------------------------------------------------------------------------------------------------------------------------------------------
2013-05-07: Removed some anomalies when using compiler directives.

---------------------------------------------------------------------------------------------------------------------------------------------

Updated the documentation (.pdf) file with the "batch processing" possibility. This feature was already present in the above version.

--------------------------------------------------------------------------------------------------------------------------------------------
2013-07-02, version 1.3: Corrected a small error in compiler directive handling.

---------------------------------------------------------------------------------------------------------------------------------------

2013-09-12: Version 1.4.

Made the processing of asm blocks correct.


2014-07-22: Version 1.5. Removed a bug in the tool: wrong interpretation of assignment statements in the main part of project files, resulting e.g. in "ADCON1 as = $0F" in stead of "ADCON1 = $0F". Only present if the main block was preceded directly by a var (dim) statement.


Version 1.6 (2015-01-14): Removed some errors regarding "repeat" inside an if statement, ïf then else" in a case statement, more than one directive on one line, the handling of a literal double quote, the translation of the '#' sign into the chr function, etc...


2015-01-27: Removed a small error.


2015-01-28: Updated the Documentation of the convertor.  


2015-02-08: corrected a small error in the manual.


2015-06-29: Removed an error regarding converting '#nn' and converting the doublequote in a text.

ALSO FROM THIS AUTHOR

Tool: Timer-Prescaler

5

Tool (excel workbook) to help with the choice of the prescaler and settings of a timer. For PIC16/18, PIC24, dsPIC33 and PIC32.

[Learn More]

PS2 Mouse Read

5

Returns the Delta X (hor), the Delta Y values (vert), the Delta Z (scrolwheel) values and the button status if one of those has changed. Only tested on P18 with 48 MHz MCU clock (will work probably also on 16 and on lower MCU clock speeds).

[Learn More]

OW_Utilities

5

This library provides the basic one-wire search ROM and search ALARM routines, e.g. for the DS1820, the DS18S20 and the DS18B20.

[Learn More]