|
-
Sep 29th, 2002, 04:19 PM
#1
Thread Starter
New Member
Creating Components
Hello All WINAPI Developers,
I'm creating a computer language but I'm not exactly sure how to go about creating the components for it, however I want to make my own and not use another one. This needs to be based on my language and would not even work if it was from another. Basically, the developers creating applications in my language would be able to easily create things. My language is KoolBASIC
CREATE WINDOW AS KWINDOW
KWINDOW.CAPTION = "HELLO WORLD!"
KWINDOW.HEIGHT = 800
KWINDOW.WIDTH = 800
KWINDOW.ALIGN = CENTER
END CREATE
Components I need to create:
- GUI modules
- Screensaver modules
- sockets
- windows
- menus
- rich edit boxes
- open dialogs
- save dialogs
- edit boxes
- checkboxes
- radio buttons
- gauge
- combo boxes
- list boxes
- group boxes
- labels
- strings
- timers
- fonts
- files
- bitmaps
- icons
- cursors
- brushes
- pens
- multitasking abiliities
I however don't know a good resource to help me create these types of items.
Does anyone know how I can get started or examples of some of these that I can base off of?
It wouldn't be written in Visual BASIC but if it was written in Visual BASIC I could easily port it to my language..they're similar in a way.
~Jared
-
Sep 29th, 2002, 06:22 PM
#2
Addicted Member
Jared, it is my opinion that you probably need to purchase a
consulting team as you are most likely going to have to take a
crash course in the advanced Windows programming, network
programming, and the inner workings of COM. Of course I am
assuming you already have compiler theory and the like under
your belt already. I think this forum will probably provide you with
good information for specific technical questions (over the course
of your project), but what you presented is extremely broad.
-CC
-
Sep 29th, 2002, 10:20 PM
#3
Thread Starter
New Member
the problem is
Hi,
The problem is that I need to know the inner workings of the components..it helps by building them, and gives me even more experience in this area...
Second, this is a FREEWARE and OPEN SOURCED compiler...yep, an alternative to Visual BASIC yet FREE....
~Jared
17 yrs. old
-
Sep 29th, 2002, 10:34 PM
#4
Thread Starter
New Member
yes
Yes, I'm well aware of compiler theory and I have already created a version of the compiler. It's not up to advanced stages yet or even GUI, but it can do expressions/simple statments
DIM JOHN AS STRING
JOHN = "HELLO WORLD!"
PRINT JOHN
(will print out
HELLO WORLD!
)
But yes, this is free, open sourced, and that's why I need to be able to know how to create these components.I just don't know any good resources to even start if I wanted to..where would these expert developers that you refer to have gotten their start from? What sites? What books? I hope to add WINAPI under my belt too, I don't want to be a wimp and hire someone else to do it, especially since this is free.
~Jared
-
Sep 29th, 2002, 10:40 PM
#5
Addicted Member
Buy all these books:
http://www.powells.com/subsection/Wi...ogramming.html
read them, do the excercises, and build away. You will also need
to learn about advanced compiler theory (Lexx and Yacc), Finite
State Machines, and Abstract Data Structures (Linked Lists,
Stacks, Queues, Trees, Hash Tables, etc...). In all honesty I think
you are biting off way more than you can chew (not that I want to
discourage you). Maybe a better route would be to earn a
Beachlor's degree in Computer Science from some colleage of
your choice and then consider devoting some of your free time
to this endeavor? You would be much better prepared to take
on something like this (mind you it would still not be easy).
-CC
-
Sep 29th, 2002, 10:54 PM
#6
Thread Starter
New Member
I'm sorry?
Hi there,
I'm sorry for not providing background first. I'm the developer of KoolBASIC (www.koolbasic.com). It is more of a RapidQ clone. RapidQ died in 2000 when William Yu went to the commercial RealBASIC software . RapidQ is , of course, freeware.
KoolBASIC is freeware. It is also open sourced. RapidQ wasn't open sourced. That's why a new compiler had to be built ..even disassembling RapidQ wouldn't give you RapidQ back, and the author isn't allowed to release the source code.
KoolBASIC is developed using Bloodshed Dev-C++(mingw) compiler and is developed in bare C++. Full source is also available from www.koolbasic.com . It does NOT rely on Lex/Yacc. I'm well aware of all the compiler theory and right now I'm also planning out a compiler tutorial on how NOT to be a wimp and to produce readable code in C++ with your hands doing all the typing and your brain doing all the thinking.
KoolBASIC is not to GUI stage yet - but it will be. I dont' want to spend years working on it when I could get it done on the side now and then maybe spend a little extra time adding it in than normal but it would not be a lengthy wait for everyone.
But I'm well aware of advanced compiler theory..while I know a lot of that, I of course learn every day. Even the best compiler writers are still learning. And re-writing. And re-learning. And applying things they never thought they'd use to their compilers.
So that's not a problem, I'm not biting off more than I can chew ..after all, my mouth is always full anyway and it all gets swallowed..in due time .
Trust me...I wouldn't be here this long working on a compiler without being discouraged this many times..obviously I'm going to make this happen. Many people would have dropped out a long time ago.
~Jared
-
Sep 30th, 2002, 01:32 AM
#7
Addicted Member
I saw your program and I like the menus btw. I wish you the
best of luck turning this into a success. You might want to visit:
http://msdn.microsoft.com
as you can find numerous code examples for doing things with
the Win32 API across many languages. If you search THIS
forum you can find many examples of different technologies (some
of which are on your list).
-Good luck.
-
Sep 30th, 2002, 01:55 AM
#8
Thread Starter
New Member
regarding koolbasic
Hi-
The IDE itself has bugs in it, definitely. People wanted to be able to create programs without doing it in Notepad or similar apps.
However, you can..
simple
DIM ME AS STRING
ME = "HELLO WORLD!"
PRINT ME
and save it as me.bas in the same directory you installed it to.
Open a command box and CD to where you installed KoolBASIC and type :
koolb me.bas
It should compile and create me.bas.exe
Open me.bas.exe and it will say
HELLO WORLD!
Or you can say
DIM ME AS STRING
ME = "Hello World, I'm Sleeping!"
PRINT ME
SLEEP 5
Eventually the IDE will be bug-ridden and it will be wonderful..until then, hang in there.
~Jared
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|