TOP Contributors

  1. MIKROE (2659 codes)
  2. Alcides Ramos (356 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (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 (136957 times)
  2. FAT32 Library (70080 times)
  3. Network Ethernet Library (56015 times)
  4. USB Device Library (46338 times)
  5. Network WiFi Library (41958 times)
  6. FT800 Library (41266 times)
  7. GSM click (29051 times)
  8. mikroSDK (26480 times)
  9. PID Library (26447 times)
  10. microSD click (25411 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: 2150 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

DS1820 Examples

0

4 examples of driving the DS1820, DS18S20 and DS18B20 digital temperature sensors, using the TempSensors and the OW_Utilities libraries. The examples can also be used with PIC24 (small changes in processor initialisation needed).

[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]

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]