New PC Project: Blitz Source Converter
Hi Guys,
I am going to take a short break from my SwosEditor in light of the Swos2020 release.. so I have decided I might look into writing a blitz source converter and maybe even a PC editor (pipedream haha). I have not started anything yet, but I hope to have a GUI and hopefully using QT make it cross platform. The purpose of this thread.. Ideas and suggestions to start, and also as much info about the blitz library system as possible. I will chuck a mock gui together shortly Edit: I am aware of this >> https://github.com/grovdata/pyblitz2 but it hasn't been updated in a while Edit2: I am also considering an Amiga version |
Post for suggestions and ideas:
|
Post for blitz library structure and info
|
Just want to say you're awesome!
RC |
Great idea, if you need some people to test try count with me
|
Today I have done more investigation to the blitz library structure, and have managed to work out the best way to get the library commands out.
Next I am going to document how the bb2 files store info and tokenisation. Maybe it's time to start some coding! |
Great idea, I’ll follow the progress and enjoy seeing where this goes.
|
Quote:
|
I have made a little bit of progress with the development here :)
I have started programming, and deflibs/acidlibs files are recognised, libraries identified and what not. Next is the routine to identify each library command, and the associated help text. Once the library identification is working fully, I will then look at source code recognition. |
A quick update.
The program now recognises deflibs/acidlibs and library object files. Here is a video demonstrating the loading of a deflibs file. It will separate each library, and get the commands, along with info like library number, and offset within the file. The layout currently is for demonstartion purposes while I figure out the full direction I want to take this. Right now I am thinking of having a source window for the bb2 code, with a lister giving each library etc. I am also thinking of allowing the prog to scan through your blitz libs files (.obj) and then match each deflibs library and get the library name etc.. Youtube video Any suggestions for where I can take this is definitely welcome |
I have updated the Blitz Code Converter. It now has a library settings window (Still very early) and shows the loading of the blitz libraries.
https://youtu.be/8hEwY98LF00 |
Here is a more updated preview of the BLitz Basic code viewer/editor and converter for PC.
There is a lot of work still to do, but this can now load in BB2 tokenised code :) I will add an export function next, then it will have an actual use. Currently code can be copied and pasted. https://youtu.be/fzdyS9erPLs |
There was a bug in my library analysis code, which was a result of many blitz libraries having dummy tokens, and sub tokens. This are not easily visible, and serve no purpose from an end user perspective. I had to go back and completely rewrite the library analysis code. I did this by converting the token reading routine from the ab3libmanager to C++ and implementing. After speaking to Sven Dröge he has confirmed I can use any code from AB3, so hopefully this will speed up development.
I fully understand the blitz library, and how tokenisation works now and can comfortably load in most source. I have updated post 2 with my current todo list. I am thinking about making this into a complete Blitz development IDE, and if I am able to compile amiga-side using winuae. I am still open to feature suggestions. Quote:
|
All times are GMT +2. The time now is 17:26. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.