BBC BASIC for Windows
« Customizing the IDE »

Welcome Guest. Please Login or Register.
Apr 6th, 2018, 12:12am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Customizing the IDE  (Read 1401 times)
DavidS
New Member
Image


member is offline

Avatar




PM


Posts: 6
xx Re: Customizing the IDE
« Reply #6 on: Sep 17th, 2013, 4:43pm »

on Sep 17th, 2013, 3:51pm, Richard Russell wrote:
It does (of course) produce standalone EXEs, but not DLLs.


Now you got me very confused, as previously you wrote:

Quote:
In any case BBC BASIC is interpreted, so there's no conventional 'compiling' or 'linking' involved:


Or by this:

Quote:
the 'program' is treated as data


Do you mean that the basic source file is included (possibly as tokens) then your "compiler" takes parts or the whole
of BBCWRUN.EXE and creates another exe with these tokens as included data?

Sorry to be a pain with all these questions but I'm trying to understand the process.
« Last Edit: Sep 17th, 2013, 4:49pm by DavidS » User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Customizing the IDE
« Reply #7 on: Sep 17th, 2013, 7:16pm »

on Sep 17th, 2013, 4:43pm, DavidS wrote:
Sorry to be a pain with all these questions but I'm trying to understand the process.

A BB4W executable consists of the run-time engine (code) plus the tokenised/compressed BASIC program (data) bound into a single Portable Executable file. Also incorporated in the EXE are embedded library and resource files (if any), an icon and a manifest. It is also possible to incorporate other resources, such as version information, by means of REM!Resource compiler directives.

None of this is particularly out-of-the-ordinary. Installer/setup programs typically create similarly-structured EXEs, because they too combine multiple compressed files plus an extract/install program in a single PE-format file.

If you have only previously encountered EXEs created by a traditional linker you have led a rather sheltered existence!

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls