TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 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 (136613 times)
  2. FAT32 Library (69811 times)
  3. Network Ethernet Library (55881 times)
  4. USB Device Library (46214 times)
  5. Network WiFi Library (41858 times)
  6. FT800 Library (41071 times)
  7. GSM click (28942 times)
  8. PID Library (26401 times)
  9. mikroSDK (26311 times)
  10. microSD click (25326 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

TFTP HTTP pic based file server for FAT32 sd/mmc cards

5

This is a small TFTP fileserver, using an mmc/sd card for file storage. "Small" means the software does not have an error/retry/timeout mechanism. Also file download via HTTP is implemented (URL = 192.168.123.90). This project uses the Ethernet libraries v3.5 by Yo2Lio.

[Learn More]

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]

Tool: Show PIC Data

5

This tool shows the PIC data (PIC capabilities) derived from the CSV files in the MikroProg Suite directory (and used by it).
For mP, mC and mB, PIC, dsPIC and PIC32.

[Learn More]