English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. Blitz Basic

 
 
Thread Tools
Old 24 May 2017, 21:09   #41
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,645
I understand the usefulness of having a sort of pre-compiled file, but source code should remain text 100% of the time.
I'm not saying "don't have this tokenized file", I am saying "have source, tokenized file and binary"
Amiga1992 is offline  
Old 24 May 2017, 21:30   #42
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Quote:
Originally Posted by bippym View Post
I've been learning python recently so as a project I might have a go at making something to convert the bb2 file to a text file. Obviously the success will depend on the numbering of your Amigalibs and deflibs being correct
Yes, that would be awesome. The library numbers thing is trickly alright, but perhaps you could use the library definitions from a copy of the installed Blitz setup that the user has.
Daedalus is offline  
Old 24 May 2017, 22:27   #43
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Quote:
Originally Posted by Daedalus View Post
Yes, that would be awesome. The library numbers thing is trickly alright, but perhaps you could use the library definitions from a copy of the installed Blitz setup that the user has.
The user will need to supply their own libs. Then the script can take it from that
BippyM is offline  
Old 25 May 2017, 00:47   #44
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Yep, that's the way to do it
Daedalus is offline  
Old 25 May 2017, 08:22   #45
MickGyver
Registered User
 
MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 643
Quote:
Originally Posted by Akira View Post
BTW step 5 on your how to says: "Go to %AppData%\Notepad++". The actual path, at least in my system (Win 7 Pro 64bit) is "%AppData%\Roaming\Notepad++". I am using a 32-bit version of n++ (is there a 64 bit version now?)
%AppData% should point to the correct application data folder used on the system. The actual path is the same for me as for you (I also have Win7 x64). I probably also have the 32bit version of Notepad++. There is a 64bit version but with very limited plugin support.

Quote:
Originally Posted by bippym View Post
I've been learning python recently so as a project I might have a go at making something to convert the bb2 file to a text file. Obviously the success will depend on the numbering of your Amigalibs and deflibs being correct
That would be way radical!
MickGyver is offline  
Old 10 June 2017, 20:29   #46
AlfaRomeo
A1200 040 SAM440EP 667
 
AlfaRomeo's Avatar
 
Join Date: Jan 2008
Location: Lisbon / Portugal
Posts: 873
Any updates from the version v0.6 of user defined language for B2 in Notepad++ ??
AlfaRomeo is offline  
Old 11 June 2017, 11:15   #47
MickGyver
Registered User
 
MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 643
Quote:
Originally Posted by AlfaRomeo View Post
Any updates from the version v0.6 of user defined language for B2 in Notepad++ ??
I haven't changed anything since v0.6, let me know if you have any problems or if keywords are missing etc.
MickGyver is offline  
Old 11 June 2017, 19:37   #48
AlfaRomeo
A1200 040 SAM440EP 667
 
AlfaRomeo's Avatar
 
Join Date: Jan 2008
Location: Lisbon / Portugal
Posts: 873
Ok, I will alert you if I note something that could be improved.
Anyway, it´s already a great job Thanks for your effort witchmaster
AlfaRomeo is offline  
Old 08 September 2017, 14:48   #49
MickGyver
Registered User
 
MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 643
I wrote new instructions on how to set all this up as a pretty pdf file. I also re-added support for regions. This system is working well for me so I will now call this version 1.0.

Check out the instructions and get the files below.

Instructions

http://gamephase.net/files/linked/BB...HowTo-v1.0.pdf

User defined language
http://www.gamephase.net/files/linked/BB2-NPP-v1.0.zip

Automation tools
http://www.gamephase.net/files/linke...-tools-v10.zip

Let me know if you have any problems or find errors in the instructions and so forth!

Last edited by MickGyver; 15 January 2018 at 14:03.
MickGyver is offline  
Old 13 September 2017, 23:19   #50
E-Penguin
Banana
 
E-Penguin's Avatar
 
Join Date: Jul 2016
Location: Darmstadt
Posts: 1,213
I shall definitely be giving this a go over the weekend
E-Penguin is offline  
Old 16 September 2017, 14:33   #51
MickGyver
Registered User
 
MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 643
The foldable regions were not actually working as they should, damn! I found a solution though. That solution also makes other stuff easier and safer, so use these updated instructions instead if you decide to try this out! (I also updated the link to the instructions in the first and previous posts).

http://gamephase.net/files/linked/BB...HowTo-v1.1.pdf

Last edited by MickGyver; 16 September 2017 at 14:39.
MickGyver is offline  
Old 22 October 2017, 19:02   #52
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
I have now got this installed, but find the background in the styler annoying (set as white). Can it be set to take the background of the current theme?
BippyM is offline  
Old 23 October 2017, 16:52   #53
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,645
Quote:
Originally Posted by BippyM View Post
I have now got this installed, but find the background in the styler annoying (set as white). Can it be set to take the background of the current theme?
You need to go to settings and make notepad++ override the background color for all themes.

Settings -> Style Configuration -> GLobal Override.

There you can set a common background and foreground color that will override those of any other theme or style.

I also dislike white backgrounds
Amiga1992 is offline  
Old 23 October 2017, 16:59   #54
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Quote:
Originally Posted by Akira View Post
You need to go to settings and make notepad++ override the background color for all themes.

Settings -> Style Configuration -> GLobal Override.

There you can set a common background and foreground color that will override those of any other theme or style.

I also dislike white backgrounds
Thanks Akira, I saw that, but some things I want to have a different background colour..

I'll set my own up when I add more commands. There seems to be a lot missing (mainly user added libraries)

Sent from my SM-G935F using Tapatalk
BippyM is offline  
Old 23 October 2017, 17:18   #55
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,645
Quote:
Originally Posted by BippyM View Post
Thanks Akira, I saw that, but some things I want to have a different background colour..

I'll set my own up when I add more commands. There seems to be a lot missing (mainly user added libraries)
You can change the background for just the BB2 styling, too.

Language->Define Your Language-> Select the BB2 language-> Folder & Defuault -> click "Styler" then choose BG/FG color.
You can't set it to the current theme, but you can choose something else of your preference.
Amiga1992 is offline  
Old 24 October 2017, 08:23   #56
MickGyver
Registered User
 
MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 643
Quote:
Originally Posted by BippyM View Post
I have now got this installed, but find the background in the styler annoying (set as white). Can it be set to take the background of the current theme?
You can also set a background colour to follow the default (making it transparent) by right clicking it according to this solution: https://superuser.com/a/939099
MickGyver is offline  
Old 24 October 2017, 08:30   #57
MickGyver
Registered User
 
MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 643
Quote:
Originally Posted by BippyM View Post
I'll set my own up when I add more commands. There seems to be a lot missing (mainly user added libraries)
If you do add the missing commands, please upload your version here!
MickGyver is offline  
Old 29 October 2017, 18:15   #58
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Okay so I have made this thread sticky as I believe there are a lot of possibilities and options here..

I think we should consider splitting different functions into different colours (anything branch related in one for example). Might be worth splitting blitz core commands up from added commands/user libraries.

What are the possibilities with Notepad++ ??
BippyM is offline  
Old 29 October 2017, 20:45   #59
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Quote:
Originally Posted by BippyM View Post
I think we should consider splitting different functions into different colours (anything branch related in one for example). Might be worth splitting blitz core commands up from added commands/user libraries.
Yes, excellent idea. You could start with the AB3 colour scheme, which works very well IMHO. For example:

Comments - pale green italic
Commands using the native chipset - red bold
Constants - purple
Literal strings - grey
Standard commands - blue bold
Procedures - green
Newtypes - dark blue
Everything else - black
Daedalus is offline  
Old 29 October 2017, 21:39   #60
MickGyver
Registered User
 
MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 643
Quote:
Originally Posted by BippyM View Post
Okay so I have made this thread sticky as I believe there are a lot of possibilities and options here..

I think we should consider splitting different functions into different colours (anything branch related in one for example). Might be worth splitting blitz core commands up from added commands/user libraries.

What are the possibilities with Notepad++ ??
Cool! There are 8 different groups you can use when defining user defined language in N++. The current groups could be rearranged (look at the image).
Attached Thumbnails
Click image for larger version

Name:	NPP-UDL.png
Views:	260
Size:	43.6 KB
ID:	55196  
MickGyver is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple question regarding notepad and ram.. Dharma support.Apps 5 31 May 2015 22:03
Notepad++ BippyM Coders. Asm / Hardware 14 28 August 2014 03:42
does VASM support a pre-defined symbol identifying itself Apollo Coders. Asm / Hardware 2 09 December 2013 16:07
Faces which defined the Amiga Tolls Nostalgia & memories 25 02 June 2011 22:02
BB2 development LaundroMat Coders. General 10 01 October 2002 17:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:47.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10215 seconds with 14 queries