Shop OBEX P1 Docs P2 Docs Learn Events
My PBasic editor — Parallax Forums

My PBasic editor

grasshprgrasshpr Posts: 3
edited 2005-07-22 15:04 in BASIC Stamp
Hi everyone,

I'm new to this forum, but I've used the BS2 for quite some time. I just finished a preliminary development of a PBasic editor for windows and was wondering if any of you guys would be interested in helping me test it out.

Its utilizing the jEdit as a text editor and I've implemented some scripts in jEditor to tokenize and dump the code to the BS2 via the COM1 port. Most of the reserved words are color coded and programming styles for indenting are available (and this editor's find/replace option is not buggy like the traditional PBasic editor). Also, it has a debug window for using the commands for debug and debugin.

If you guys are interested in trying it out, I'll setup a page to download page with instructions.

In the meantime, here are a few screen captures of the editor in action! Thanks for looking.

Screen capture of downloading PBasic code to BS2
download.gif

Screen capture of the debug window
debug.gif

Comments

  • grasshprgrasshpr Posts: 3
    edited 2005-07-21 18:06
    Sorry for the image not working, you can see the screen captures if you enter this http address in your browser:

    Screen capture of downloading PBasic code to BS2
    http://128.238.129.242/download.gif

    Screen capture of the debug window
    http://128.238.129.242/debug.gif
  • PLJackPLJack Posts: 398
    edited 2005-07-22 09:53
    That is very cool Grasshpr.
    I'm very impressed.

    I have a Jedit icon sitting on my desktop. I never got around to using it.
    I'm an UltraEdit guy myself.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - PLJack - - -



    Perfection in design is not achieved when there is nothing left to add.
    It is achieved when there is nothing left to take away.
  • grasshprgrasshpr Posts: 3
    edited 2005-07-22 15:04
    Thanks PLJack. Anyhow, those who want to try it out, goto the web address:

    http://128.238.129.242/jEdit4.3pre2.zip

    to grab the zip file. To use jedit, you must have one of the newer versions of Java runtime installed on you computer, i.e., Java 1.4.x or Java 1.5.

    I haven't made an installer yet for it. Thus, to use this editor, you must following the following steps:

    1) You must unzip this file directly into the C:\Program Files\ directory. Can't be any other letter drive (as of yet).

    2) Copy the .jedit directory located in the jEdit4.3pre2 directory to which ever user profile directory you are using e.g., in windows XP you have to copy the .jedit directory to this directory: C:\Documents and Settings\Administrator\ if you are logged in as the user administrator.

    3) From there you can double click on the file jedit.jar in the jEdit4.3pre2 directory to open up the interface.


    Usage:

    1) After making your PBasic code, in the editor (or just opening up one of your existing files), to tokenize and dump the code to the BS2, make sure its connected to serial port under name COM1 and have it powered up.

    2) Select the Macros menu at the top of the window and select Download PBasic Program.

    3) If you want to open the debug window, look at the select menu underneath Download PBasic Program. Quick note, this editor only works with BS2 and not with other versions of BS2 yet, e.g., BS2p40, etc.

    Any comments would be greatly appreciated. Thanks.

    Post Edited (grasshpr) : 7/23/2005 6:10:47 AM GMT
Sign In or Register to comment.