D-Lib 2.0 -update-
D-Lib 2.0 -update-
Hi!
Here is the new D-Lib beta:
http://www.thinkrelative.de/dlib/download/dlib.exe
(It's a selfextracting archive, so don't be afraid of the executable)
The changes are extensive.
Here are only a few:
-Help file (Big thanks goes to Dean Hodgson)
-Structures added (Viewer inclusive)
-Scintilla bases editor
-For/Next
-Repeat/Until
-Select/Case
-Synonyms
-Now there are 300 UserFunctions included.
(More than a half are written or converted by Dean.
You can get the sourcecodes from the web page)
-...
Maybe someone will take a look
Regards,
Mischa
Here is the new D-Lib beta:
http://www.thinkrelative.de/dlib/download/dlib.exe
(It's a selfextracting archive, so don't be afraid of the executable)
The changes are extensive.
Here are only a few:
-Help file (Big thanks goes to Dean Hodgson)
-Structures added (Viewer inclusive)
-Scintilla bases editor
-For/Next
-Repeat/Until
-Select/Case
-Synonyms
-Now there are 300 UserFunctions included.
(More than a half are written or converted by Dean.
You can get the sourcecodes from the web page)
-...
Maybe someone will take a look
Regards,
Mischa
Sorry.
(The last D-Lib posting seems to be to long ago)
http://www.thinkrelative.de
It's a (byte code) script language.
You can run scripts via Runtime or Dll, but
you can also create stand alones.
Regards,
Mischa
(The last D-Lib posting seems to be to long ago)
http://www.thinkrelative.de
It's a (byte code) script language.
You can run scripts via Runtime or Dll, but
you can also create stand alones.
Regards,
Mischa
-
- User
- Posts: 37
- Joined: Sun Sep 09, 2007 1:16 pm
- Location: Asdenia
Good ! Suggestions:
1) Throw out synonyms and just create normal macrosystem.
2) Replace StructMemory to PB's declaration.
3) Add Quad\Double data-types
4) Add .DLL-creation.
5) Make Editor's colors customizable.
Ah, and... Where "eval" procedure ? I can't find it.
P.S. (Freeware PB... Sweet dream...)
1) Throw out synonyms and just create normal macrosystem.
2) Replace StructMemory to PB's declaration.
3) Add Quad\Double data-types
4) Add .DLL-creation.
5) Make Editor's colors customizable.
Ah, and... Where "eval" procedure ? I can't find it.
P.S. (Freeware PB... Sweet dream...)
Thanks for reply.
The PBs macro system is much more complex.
Synonyms are simple 'one to one' replacer.
D-Lib is a byte-code compiler/interpreter, so dll
creation makes not realy sense.
Editor colors are customizable.
Open ..\misc\edit.dat and see.
Ok, not a nice dialoge, but it works.
What Do you concrete mean wit missing "eval" procedure?
For what.
Regards,
Mischa
The PBs macro system is much more complex.
Synonyms are simple 'one to one' replacer.
D-Lib is a byte-code compiler/interpreter, so dll
creation makes not realy sense.
Editor colors are customizable.
Open ..\misc\edit.dat and see.

Ok, not a nice dialoge, but it works.
What Do you concrete mean wit missing "eval" procedure?
For what.
Regards,
Mischa
-
- Enthusiast
- Posts: 746
- Joined: Fri Jul 14, 2006 8:53 pm
- Location: Malta
- Contact:
This looks interesting
very nice work
how do you use it from a DLL?
In effect I didnt find a dlib.dll
very nice work
how do you use it from a DLL?
In effect I didnt find a dlib.dll
I may not help with your coding
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
-
- Enthusiast
- Posts: 746
- Joined: Fri Jul 14, 2006 8:53 pm
- Location: Malta
- Contact:
It is not what I mean....though this is an interesting way (what you showed)
How can you execute code realtime from pb?
Ie dlib2 code created on the fly?
How can you execute code realtime from pb?
Ie dlib2 code created on the fly?
I may not help with your coding
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
-
- User
- Posts: 37
- Joined: Sun Sep 09, 2007 1:16 pm
- Location: Asdenia
...and much more useful...The PBs macro system is much more complex.
It's always make sense.D-Lib is a byte-code compiler/interpreter, so dll
creation makes not realy sense.
http://en.wikipedia.org/wiki/EvalWhat Do you concrete mean wit missing "eval" procedure?
Hi!
@Pantcho
Thank you, but i'm not so good, as it seems.
@kinglestat
The D-Lib both runtimes (exe/dll) can only interpret byte code.
But you are allowed to include the compiler in your own project
and use it by commandline.
@Iron_Meiden
Sure, the PBs macro system is more useful, but:
-There was no macro system integrated before PB3.9/PB4.0?
-D-Lib synonyms are simple replacer, nothing more.
-Fred is a brilliant power programmer.
-I am only a hobby coder, a novice
Do you mean the D-Lib synonyms are useless?
No, dll creation makes absolutley no sense in this case.
D-Lib works on byte code base, so it is much slower than native
code. Sure, there would be a way to implement the functionallity to
create a runtime dll with atached byte code, but D-Lib should be
the 'frontend', not the 'backend' of any project. I think its not
a good idea to produce 'slow-downed' standard dlls.
D-Lib internal you can (easy) create userlibs. And of course
D-Lib can handle standard dlls and use/integrate them.
Thanks for the 'eval' links. I understand the concept now.
Most (popular) interpreted languages have incuded it, but not all.
The 'eval' function is a kind of real-time interpreting by string.
This is useful to handle dynamic source parts.
But in the moment the D-Lib compiler produces a (faster) byte code.
There are no variable-names in the output integrated, only id's.
Besides the runtime must be much bigger to alow real-time interpreting,
cause i have to integrate all compiler functionallity to make 'eval'
possible. But in all cases, real-time interpreting would be a slow down.
Is the eval thing so important.
Regards,
Mischa
@Pantcho
Thank you, but i'm not so good, as it seems.
@kinglestat
The D-Lib both runtimes (exe/dll) can only interpret byte code.
But you are allowed to include the compiler in your own project
and use it by commandline.
@Iron_Meiden
Sure, the PBs macro system is more useful, but:
-There was no macro system integrated before PB3.9/PB4.0?
-D-Lib synonyms are simple replacer, nothing more.
-Fred is a brilliant power programmer.
-I am only a hobby coder, a novice
Do you mean the D-Lib synonyms are useless?
No, dll creation makes absolutley no sense in this case.
D-Lib works on byte code base, so it is much slower than native
code. Sure, there would be a way to implement the functionallity to
create a runtime dll with atached byte code, but D-Lib should be
the 'frontend', not the 'backend' of any project. I think its not
a good idea to produce 'slow-downed' standard dlls.
D-Lib internal you can (easy) create userlibs. And of course
D-Lib can handle standard dlls and use/integrate them.
Thanks for the 'eval' links. I understand the concept now.
Most (popular) interpreted languages have incuded it, but not all.
The 'eval' function is a kind of real-time interpreting by string.
This is useful to handle dynamic source parts.
But in the moment the D-Lib compiler produces a (faster) byte code.
There are no variable-names in the output integrated, only id's.
Besides the runtime must be much bigger to alow real-time interpreting,
cause i have to integrate all compiler functionallity to make 'eval'
possible. But in all cases, real-time interpreting would be a slow down.
Is the eval thing so important.

Regards,
Mischa
-
- User
- Posts: 37
- Joined: Sun Sep 09, 2007 1:16 pm
- Location: Asdenia
No.Do you mean the D-Lib synonyms are useless?
Sometimes it's can be very useful.I think its not
a good idea to produce 'slow-downed' standard dlls.
Hmm... How about something like on FORTH's vocalubraries, which contains addresses of each variable\procedure ?Thanks for the 'eval' links. I understand the concept now.
Most (popular) interpreted languages have incuded it, but not all.
The 'eval' function is a kind of real-time interpreting by string.
This is useful to handle dynamic source parts.
But in the moment the D-Lib compiler produces a (faster) byte code.
There are no variable-names in the output integrated, only id's.
Besides the runtime must be much bigger to alow real-time interpreting,
cause i have to integrate all compiler functionallity to make 'eval'
possible. But in all cases, real-time interpreting would be a slow down.
Is the eval thing so important.