TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 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 (136830 times)
  2. FAT32 Library (69993 times)
  3. Network Ethernet Library (55976 times)
  4. USB Device Library (46290 times)
  5. Network WiFi Library (41895 times)
  6. FT800 Library (41203 times)
  7. GSM click (29010 times)
  8. PID Library (26421 times)
  9. mikroSDK (26390 times)
  10. microSD click (25384 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: 2145 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

C RTOS for mP and mB (P18 and P24)

10

CRTOS stands for Cooperative Real Time Operating System; designed for and written specifically in mP/mB from mikroElektronika. The system uses cooperative as opposed to pre-emptive scheduling which means that the application code you write has to voluntarily release back to the operating system at appropriate times.

[Learn More]

Tool: Global variable usage

10

Shows, from a selected routine, the following items: - The parameter - The (used) local variables - The unused local variables (eliminated by optimiser) - The used global variables - Called routines For Pic, Pic24 and P32, both mP and mB

[Learn More]

TempSensors Ds1820 LM35

16

The basic functions for the DS18(S/B)20 (onewire digital temperature sensor), including string output, ready to display. A routine to convert a more than 9 bits temperature read from a DS18B20 to a string (to e.g. display on an LCD) is also present. Including Parasite Power and Configuration routines. The LM35 basic functions, code efficient.

[Learn More]