TOP Contributors

  1. MIKROE (2759 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 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 (139223 times)
  2. FAT32 Library (71732 times)
  3. Network Ethernet Library (57114 times)
  4. USB Device Library (47426 times)
  5. Network WiFi Library (43051 times)
  6. FT800 Library (42401 times)
  7. GSM click (29832 times)
  8. mikroSDK (28034 times)
  9. PID Library (26881 times)
  10. microSD click (26196 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: 2214 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

USB HID and MSD Host Library

10

This package contains the USB Host libraries for HID (e.g. Keyboard or Mouse) and MSD (e.g. USB stick)

[Learn More]

Tool: RamSizes

10

This tool shows the size of variables splitted up per unit/module and procedure/function.
For mP, mC and mB for PIC and dsPIC/PIC24.

[Learn More]

Tool: Bootloader HOST (windows) for PIC

1

This is (for a change) not a bootloader firmware (the bootloader part present in the PIC), but a bootloader Host for control of the PIC bootloader. It is compatible with the bootloader firmwares from mikroElektronika, and is capable of handling all PIC types. Original development: Joop Beunders.

[Learn More]