yab
Download
- Description:
-
Latest Update yab 1.7 (More details below.)
yab is a complete BASIC programming language for Haiku. It allows fast prototyping with simple and clean code. yab contains a huge amount of BeAPI specific commands for GUI and much, much more.
yab wouldn't be complete without the yab-IDE, a powerful development environment, which of course is programmed in yab itself.
The BuildFactory allows you to recompile and bind your yab program with the yab interpreter as one stand-alone program.
Furthermore, several examples and documentation give you a fast introduction to yab.The new Localizer makes localization easy. It also supports old ZETA locale files.
yab 1.7 is the most recent version for Haiku (gcc2 and gcc4).
Most important improvements since yab 1.5 are, improved Haiku look for many widgets, Attributes, Localization support, and much much more, have a look at the ChangeLog file.
yab was compiled on Haiku Alpha3. There might be problems with newer or older releases.
yab 1.7 was compiled on Haiku Alpha 3. If it doesn't run on your Haiku version, you can easily compile yab yourself by following these steps:
1. Open a terminal and type the commands
2. cd /boot/apps/yab-1.7/src
3. make
4. ln -f -s /boot/apps/yab-1.7/src/yab /boot/home/config/bin/yab
5. close the terminalHave fun
jan__64
- Submitted On:
- 05 Feb 2012
- Submitted By:
- jan jan__64 (jan__64)
- File Size:
- 2,211.40 Kb
- Downloads:
- 962
- License:
- Artistic License -- Create your own stand-alone binaries with yab under any license you want.
- File Version:
- 1.7
- File Author:
- jan__64
- Rating:
-
Total Votes:4
Top Downloads in 30 Days
Search Files
Newest Files
| May 22 |
|
| May 20 |
|
| May 18 |
|
| May 16 |
|
| May 13 |
|


Comments
Lelldorin
Now where can I send my wishlist for v1.6?
Everybody else: try yab. It makes developing for Haiku absurdly easy.;-)
Unfortunately the Help section is still incomplete (although it already improved). For an overview of all commands, refer to the Short Command Help and the yabasic reference in the Help menu for now.
And the installer should link the correct yab binary to /boot/home/config/bin/yab and set a link for the IDE to the Applications menu.
And yes, mimetypes are still missing.
Excellent program for developing simple programs. Great for learning the basics of programming and easy to use too.
I'm writing a Haiku package manager using yab and is going fairly well. My first yab program too. Next time will have to choose something a little simpler to program.:D
The prizes are not so important. Could be even custom HaikuOS build with Name of YAB Code winner in HaikuOS About Window
Karl?
@karl: I have the sources (and the rights) of JABA, the ZETA cdrecord frontend written in yab. However, it was written with yab version 0.2.4 and it needs quite some adjustments for yab 1.5, and some new icons and graphics too. Any volunteer who wants to help with JABA for Haiku is welcome to do so.
2. Build a source does not run on gcc4>
DeBUG Info:
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-pc-haiku"...(no debugging symbols found)
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
Thread 611 caused an exception: Segment violation
Reading symbols from /boot/system/runtime_loader...done.
Loaded symbols for /boot/system/runtime_loader
Reading symbols from /boot/system/lib/libbe.so...done.
Loaded symbols for /boot/system/lib/libbe.so
Reading symbols from /boot/system/lib/libroot.so...done.
Loaded symbols for /boot/system/lib/libroot.so
Reading symbols from /boot/system/lib/libtranslation.so...done.
Loaded symbols for /boot/system/lib/libtranslation.so
Reading symbols from /boot/system/lib/libtracker.so...done.
Loaded symbols for /boot/system/lib/libtracker.so
Reading symbols from /boot/system/lib/libmedia.so...done.
Loaded symbols for /boot/system/lib/libmedia.so
Reading symbols from /boot/system/lib/libstdc++.so...done.
Loaded symbols for /boot/system/lib/libstdc++.so
Reading symbols from /boot/system/lib/libtextencoding.so...done.
Loaded symbols for /boot/system/lib/libtextencoding.so
Reading symbols from /boot/system/lib/liblocale.so...done.
Loaded symbols for /boot/system/lib/liblocale.so
Reading symbols from /boot/system/lib/libsupc++.so...done.
Loaded symbols for /boot/system/lib/libsupc++.so
Reading symbols from /boot/system/lib/libicudata.so.44...
warning: Lowest section in /boot/system/lib/libicudata.so.44 is .hash at 00000094
done.
Loaded symbols for /boot/system/lib/libicudata.so.44
Reading symbols from /boot/system/lib/libicui18n.so.44...done.
Loaded symbols for /boot/system/lib/libicui18n.so.44
Reading symbols from /boot/system/lib/libicuio.so.44...done.
Loaded symbols for /boot/system/lib/libicuio.so.44
Reading symbols from /boot/system/lib/libicule.so.44...done.
Loaded symbols for /boot/system/lib/libicule.so.44
Reading symbols from /boot/system/lib/libiculx.so.44...done.
Loaded symbols for /boot/system/lib/libiculx.so.44
Reading symbols from /boot/system/lib/libicutu.so.44...done.
Loaded symbols for /boot/system/lib/libicutu.so.44
Reading symbols from /boot/system/lib/libicuuc.so.44...done.
Loaded symbols for /boot/system/lib/libicuuc.so.44
Reading symbols from /boot/system/lib/libroot-addon-icu.so...done.
Loaded symbols for /boot/system/lib/libroot-addon-icu.so
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
[Switching to team /boot/home/config/bin/yab -version (611) thread yab (611)]
0x005fca42 in BPrivate::processHeap::free () from /boot/system/lib/libroot.so
/boot/apps/yab-1.7/bin/Haiku-gcc4/yab
runtime_loader: /boot/apps/yab-1.7/bin/Haiku-gcc4/yab: Could not resolve symbol '_ZN5BMenu16InvalidateLayoutEb'
resolve symbol "_ZN5BMenu16InvalidateLayoutEb" returned: -2147478780
runtime_loader: /boot/apps/yab-1.7/bin/Haiku-gcc4/yab: Troubles relocating: Symbol not found
~> /boot/apps/yab-1.7/yab-IDE/ide.yab
runtime_loader: /boot/apps/yab-1.7/bin/Haiku-gcc4/yab: Could not resolve symbol '_ZN5BMenu16InvalidateLayoutEb'
resolve symbol "_ZN5BMenu16InvalidateLayoutEb" returned: -2147478780
runtime_loader: /boot/apps/yab-1.7/bin/Haiku-gcc4/yab: Troubles relocating: Symbol not found
- gcc2: BuildFactory
- localization
- tab bottom and top
yab was compiled on Haiku Alpha3. There might be problems with newer or older releases.
You can solve this by compiling yab yourself with following these steps:
1. Open a terminal and type the commands
2. cd /boot/apps/yab-1.7/src
3. make
4. ln -f -s /boot/apps/yab-1.7/src/yab /boot/home/config/bin/yab
5. close the terminal
jan__64 please...
Please, release yab for newest rev.
Just compile your own binary and you are fine. :)
/boot/apps/yab-1.7/src> make
g++ -O -I. -DHAVE_CONFIG -DUNIX -DHAIKU -c YabInterface.cpp -o YabInterface.o
YabInterface.cpp: In member function 'void YabInterface::SetLocalize(cons t char*)':
YabInterface.cpp:9170:32: error: no matching function for call to 'BCatalog::BCatalog(const char*&)'
YabInterface.cpp:9170:32: note: candidates are:
/boot/develop/headers/os/locale/Catalog.h:54:9: note: BCatalog::BCatalog(const BCatalog&)
/boot/develop/headers/os/locale/Catalog.h:54:9: note: no known conversion for argument 1 from 'const char*' to 'const BCatalog&'
/boot/develop/headers/os/locale/Catalog.h:23:9: note: BCatalog::BCatalog(const entry_ref&, const char*, uint32)
/boot/develop/headers/os/locale/Catalog.h:23:9: note: no known conversion for argument 1 from 'const char*' to 'const entry_ref&'
/boot/develop/headers/os/locale/Catalog.h:22:9: note: BCatalog::BCatalog()
/boot/develop/headers/os/locale/Catalog.h:22:9: note: candidate expects 0 arguments, 1 provided
make: *** [YabInterface.o] Error 1
Regards.
Do you really ask for progress? You do not have seen that yab 1.7 is available?
I like yab
Regards.
Quoting jan__64:
In YabInterface.cpp line 9380 calls function SetLocalize(path) which is found at line 9166. The "path" variable passed between these two functions is of type char*.
In Catalog.h from /boot/develop/headers/os/locale the call to BCatalog is looking for a reference to a Struct:
line 17: struct entry_ref;
line 23: BCatalog(const entry_ref& catalogOwner, ...
In the Catalog.h in A3 - the constructor for BCatalog looked for a char*:
BCatalog(const char* signature .... )
Unfortunately my cpp is not good enough to be able to actually fix it (yet) but hopefully this can help point in the right direction or something at least as I assume all the future builds of haiku will maintain this change in the Catalog.h file.
By the way, I would be very interested in helping out with yab .. or at least the yab-ide. If you are interested in someone else coming on board please send me an email and see if I can be of any help even in some small way. linux_luvr
Hmm.. is entry_ref a pointer for file stream??
And yes, I do agree with sticking to the official releases of Haiku, otherwise we descend into chaos.
czeidler wanted to work on a session-manager, and ingo and axeld were against that he works directly in trunk. So it's indeed possible that some are working in secret
And anyway soon GSOC is comming.. and it will improve.
Ok... Some brainstorming... Haiku is an open, not commercial project. All devs are nomally people with nomally jobs. They do there work the most time in there freetime. Many of them have family and do not the time to work every free minute in there real life on Haiku. I thing they do a very great job.
And Jan do a great job too. I like yab, it is a very great language. I hope that he have the time and fun to work on it every time he can do it.
It is the right way to release yab versions for available official versions of Haiku. All other can compile there own versions, thats not a big problem. here a tutorial about it:
http://www.besly.de/menu/search/archiv/dev/yab_cvs_eng.html
Sorry for bad english
But please consider a thing, from the git adoption the developers work in their own branches and commit the things in big chuncks.
Additionally large parts of the system are pretty complete, so no space for flaming news like "The app sever is running!" fortunately : ). Also, i think that there are other problems, we should move to gcc4h soon and make a time-fixed alpha every 6 months.
Seeing a lot of commitments (like it was in the past) gives your more motivatioin and optimism to also contribute to haiku.
I think the release cycle should be even less than 6 month. Perhaps 4 month. 6 month should be really the absolut maximum.
A release should be relesea then a milestone is done, every fouth or six month will be not the right way, to many bug and uncomplete things in Haiku will kill all work they have done before. Only good working and stable releases are the real way.
I have stopped to use nighty's because i dont have fun to change every week my programs or development works. So i can say "Hey my App is running on a official release" and i dont need to do more like this. A other argument is that yab 1.5 does not support haiku gcc4, so never need to install a nightly to test my apps on a gcc4 system (now past this time i need it again ;-)).
I understand why to ask for new versions and we all want to get a very great Haiku System, but i understand the developers too. This is not Linux or Windows, they are not so many developers for Haiku to do so much work you asking for. And this i good, i dont need a new System like Linux, there every people do her own work and never a basic all supporting version. Every one will do they own in the Linux world, no standards no clear ways, too many package systems......
If you want to get more, do it by yourself. learn programming and help to make Haiku finished. Too many people shouting for new features and releases, but to many of them want to helping to do it.
Do it by yourself, it is open source!!!
"Dont waste time, you need to finish, soon is the release"
Hope they get it done before GSOC.
If not it will take up to October I fear...
see them here:
http://dev.haiku-os.org/query?status=assigned&status=in-progress&status=reopened&status=new&group=status&milestone=R1%2Falpha4
Hello jan, can you make a yab 1.7 version without local function? So we have a yab version running on newer and older haiku versions? They are to many changes today and in the next time, so we do not have a complete running yab version.
The official listing is found at :
http://ports.haiku-files.org/wiki/dev-lang
and does not mention yab at all!
Good question, i think the main developers are not part of haiku ports.
runtime_loader: /boot/apps/yab-1.7/bin/Haiku-gcc2/yab: Could not resolve symbol '__8BCatalogPCcT1Ul'
resolve symbol "__8BCatalogPCcT1Ul" returned: -2147478780
runtime_loader: /boot/apps/yab-1.7/bin/Haiku-gcc2/yab: Troubles relocating: Symbol not found
For anyone interested here is official working installer:
http://sourceforge.net/projects/yab-interpreter/files/latest/download
Have you tried this version?
http://www.haikuware.com/remository/view-details/development/editors/unofficial-yab-17-fixed-paste-error-of-textedit
RSS feed for comments to this post