Reviving the yab community
Whatever happened to yab? It used to be Haiku's favorite programming language for newbies, and now it is all but forsaken. Apart from a few users (like Lelldorin), nobody seems to be exploiting yab's wonderful potential.
Is anyone out there still interested in yab? I am, and I would like to get in touch with other yab people, to revive the yab community.
Please reply to this thread if you are interested in yab.

Comments
Re: Reviving the yab community
I remember Yab but never had time to start writing in BeOS. I hear Lua is the script du jour these days? Where can you get a Haiku list of languages and see which one you can work with by the way?
Nicolas
Re: Reviving the yab community
yeah, if there was documentation for lua or basic in haiku anywhere, i'd be down to try both.
Re: Reviving the yab community
http://haikuware.com/remository/view-details/development/editors/unoffic...
zip File included yab 1.7 Source, BuildFactory, yabIDE and Examples
use #!yab instead of #!/boot/home/config/bin/yab and place the yab binary in /boot/home/config/non-packaged/bin on a PM nightly.
Re: Reviving the yab community
Is anybody interested in contacting the developer of this program and continuing further development for Haiku? (posted on Haikuware) http://haikuware.com/20091004435/haiku-cd-burning
Haiku CD Burning
Written by Karl vom Dorff
Sunday, 04 October 2009 11:27
A nice application that normal Haiku users could use, is a CD Burning Program. The command line tools exist already, (mkisofs - included in Haiku & cdrecord, dvdrecord < not so sure the latter works under Haiku), but a GUI front-end would be welcome.
The author of Jaba jan__64 (which was a CD burning program included in Zeta and written in Yab), has asked for help in creating a new program for Haiku. So if you're good with Yab and artwork (icons) leave a comment here and we'll get you in contact with him.
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.
jan__64
Re: Reviving the yab community
Is there a newer source code than this? :
http://sourceforge.net/projects/yab-interpreter/
Re: Reviving the yab community
Yes, you can find a newer source code at Haikuware. Search for "yab" and you will find "yab 1.7" and a lot of "unofficial yab 1.x" versions.
Re: Reviving the yab community
So there is no current repository for Yab?
Would someone upload the source code for the latest version of Yab to Github. Then we can get someone to get Yab working on the Nightlies with the PackageManager.
Re: Reviving the yab community
I'm busy today, but I'll upload the Yab sources to HaikuArchives tomorrow.
Yab sources at HaikuArchives now
Done! Sources at https://github.com/HaikuArchives/Yab -- with Lelldorin's fixes. It will probably need some changes to the build infrastructure, as I deleted some duplicated files.
Re: Yab sources at HaikuArchives now
Thank you Waddlesplash!
I have felt that Haiku needed the likes of Haiku Archives for awhile. I am so glad that you have put in the hard work there, as I feel these apps/libraries will really add to Beta1.
Re: Yab sources at HaikuArchives now
The source files in the BuildFactory Directory are missing. These are not used to make YAB, but to compile a yab script into an executable. spacifically, you are missing the directory, BuildFactory/parts. I modified BuildFactory to use these files to make YabMain.cpp before proceeding to build the executrable. see BuildFactory.yab
Re: Yab sources at HaikuArchives now
I know. These files were actually duplicates of the ones in "src", so I deleted them. It should be simple to write a script that copies the required files (well, all of the code files) from "src" to "BuildFactory" at compile-time. That way, we don't have to maintain two copies of the same file in the source tree.
Re: Reviving the yab community
Well, one thing might help. Persuade the Haiku devs to bundle the yab executable with Haiku itself, just like python. That way yab devs can upload their apps as chmodded scripts rather than as enormous "bound" bundles. Uploading most of a meg to haikuware (this is from memory, it's been a while) for a little 100-line utility gets old fast.
Truth is, yab is unique: a strictly procedural language that can be used to write (modest) GUI applications. No need to bend your brain around object orientation. No need to keep track of a thousand libraries, it's all there in the one executable! I've found nothing else like it anywhere, on any OS. Applescript, maybe, but finding documentation on using that for anything but office automation is a lost cause, and even Apple has been neglecting it.
I was so fond of yab that I kept coming back to Haiku just to be able to work with it. But ... well, no need to go into details. Let's just say that I haven't fired up my Haiku box in months, and I come back here once in a while out of nostalgia.
There used to be a project called flyab, which was supposed to bring a subset of yab to other OS's. Perhaps that could be revived. Make it cross-platform and you'll attract a whole lot of new people, at least some of whom will try yab on its native platform.
But even if that is asking too much, if the Haiku devs could bring themselves to embrace yab and bundle it, it just might give Haiku itself a boost. Back in the Windows 3 days, you needed one file: VBRUN300.DLL, and suddenly you had access to thousands of apps. They might have been slow and buggy, but they existed. A year later, DOS was dead and Windows was everywhere. Yab could do the same thing for Haiku.
Re: Reviving the yab community
Hi Yab Community,
well the BuildFactory are Tech-Concept "How can make a singel running binary with yab", but i prefer a source script file, (js does this same way) ro make and give (share) a app. This way is verry open source like and we can learn from other, other can learn from him.
So actual the yan can run on Haiku, but not with the new Stuff -> layout and localisation kit, some stuff are codet in yab, but with new alpha r4 some bugs, why the local kit have rewrite some stuff. So we waiting for a first R1. (or when local and layout kit are final und public).
Flyab, is working with FLTK on some Unixes, the theory can we make in gtk, qt, efl Toolkits, but flyab are a tech conzept too, for crossing yab and speed testing.
Yab are a Basic with similar c code style, yab using yabasic, this whas running for long time for pc and PlayStation2.
Some people thinking, yab can not OO Programming, this is half true, in yab self you can make opbject as function and add it to a new function. But yab is opensource and you can add a new widget or what ever you need in the real.time-compiler interpreter.
So when you help yab, the help to make final and public the haiku stuff.
Thanks
stargater
Re: Yab sources at HaikuArchives now
It should be simple to write a script that copies the required files (well, all of the code files) from "src" to "BuildFactory" at compile-time.
And Who is going to write this script when we already have a working YAB with source tree that already has all the files in the right places to use YAB and make your YAB script an executable binary?
This is a case of, " If it aint broke, don't fix it."
I think we all appreciate a main repository for the source, but there are not enough people with enough knowledge to make major changes to YAB. Not storing all the files will require work to make it usable, and I'm afraid this will make this repository languish. Nobody is interested in working on a project they cannot use it as-is without figuring out how to fix what this breaks. Is your intent to archive a snapshot of unusable code or to have a place for YAB to continue and grow?
Please fix the tree to include all the required files, even if they are duplicates, so that one can download the files and use them as-is. This way, developers may chose to add to or fix the code that is available, and not walk away because the project just doesn't work.
Re: Yab sources at HaikuArchives now
Sadly, it *is* broken. It fails compiling on linker errors. I'll write the script, but really there's no point in doing so because Yab doesn't even compile.
Re: Yab sources at HaikuArchives now
waddlesplash
Yab compiles just fine for me.
I use:
http://haikuware.com/remository/view-details/development/editors/unoffic...
Also available at beshare coquilletkd.com from FAT ELK -- me.
The layout and localization in 1.7 were removed as the Haiku appi has changed. This is probably your linker problem.
Re: Reviving the yab community
Well, one thing might help. Persuade the Haiku devs to bundle the yab executable with Haiku itself, just like python. That way yab devs can upload their apps as chmodded scripts rather than as enormous "bound" bundles. Uploading most of a meg to haikuware (this is from memory, it's been a while) for a little 100-line utility gets old fast.
This is no more a problem with the package manager (available in the nightlies): we can have a yab package just as we have a python one, and apps can depend on it.
All you have to do is provide a recipe at haikuports (haikuports.org) to build the package. Writing a recipe is easy enough if you have the build running locally. Don't wait on "the Haiku devs" to do everything, you can join the fun!
Re: Reviving the yab community
Building YAB is easy, making a YAB.hpkg is more work. This needs to include the buildfactory and IDE, including all the source files for yab in the buildfactory directory. Using the source at http://github.com/HaikuArchives/Yab is not an option as this is a borked up mess of files, part "official yab 1.7" and part " unofficial yab 1.7." This will not make yab. the "official 1.7" is broken as it includes lay-out and locale code that does not work with Haiku. The unofficioal 1.7 has these bleading edge changes reverted, and some other fixes to the code included. see http://haikuware.com/remository/view-details/de...te-error-of-textedit for good yab code that works.
I see there is a GCI task for this:
http://www.google-melange.com/gci/task/view/google/gci2013/5893234819596288
The source repository has to be fixed before this can be accomplished.
Re: Reviving the yab community
I can see that I'm not getting through to anybody here. One last try.
This community, after more than a decade, is stuck in a mindset that every user is also a developer. Which is why it looks set to repeat every one of Linux's mistakes.
There are people out there called regular users. Remember them, the people all this is supposed to be about?. Regular users don't need the yab BuildFactory, the example code, the manuals. All they need is a single yab executable in the PATH, preferably delivered on OS installation. Then, when they download their little text editor, or database, or utility, it simply works. Regular users should not need to know or care what language their apps were written in. They should not have to download a development environment just to run a 50-line script that renames MP3s.
Re: Reviving the yab community
Easy solution: the package can be split in two parts, probably called yab, and yab_devel. The first one will have the interpreter and whatever runtime is needed, and the second will have the IDE, BuildFactory, and anything development related.
We don't forget about the users, but making life easier for developers is also a good thing: it makes the devs more productive, and only then they can start worrying about the users. That's also why we're still in alpha stage with Haiku. When we feel it's good enough to let users take over it, we'll do a stable release. The progress may seem slow, but it's happening.
Re: Reviving the yab community
All yab needs is the yab binary to be placed in the search path so that !#yab finds it. Yab has no dependancies if compiled properly, not even libncurses.so.
So yes, a yab package and a yab_devel package are appropriate.
Re: Reviving the yab community
Hi,
i dont prefer yab_devel, this sounds like a yab development version!
better is:
1.) yab-interpreter -> this is ONLY the YAB Interpreter, no IDE and Docu, Examples.
1.1) yab-IDE -> this is ONLY the IDE with Docu and Examples
1.2) yab-bf -> is ONLY the BuildFactory
Note: 1.1 need 1 and 1.2 need 1 and 1.1
2) yab-sdk -> this is a full version (1 , 1.1, 1.2)
Thanks
stargater
Re: Reviving the yab community
That's possible as well. "_devel" is our convention for developer packages. For C++ libs this has the include files, development static libraries, and any tool that may be provided with the lib.
But the package manager doesn't enforce that, so providing more packages is fine. This is some easy tweaking to the recipe, once it is working.
I don't think you need yab_sdk, as the IDE and Build Factory will depend on the main yab package anyway. Let's try to keep our package list clean and not overdo the package splitting.
Re: Reviving the yab community
The beauty of BeOS/Haiku was the simple elegance of everything from the GUI to the file system layout, which they messed up a little because of the package managemnt they're developing. yab, and yab_devel is in keeping with the KISS (keep it simple stupid) principle.
Re: Reviving the yab community
This have nothing to do with KISS!
Re: Reviving the yab community
KISS is an (American) English acronym for "Keep it simple and straightforward" - since most systems work best if they are kept simple rather than made complex. I sometimes forget that English is not the first language of most of the people involved with Haiku development. You didn't think I was talking about rock & roll, did you?
Re: Reviving the yab community
Not every body will show to all his source code, because they are often much work and brainstorming behind it. Jan makes the source code not viewable at binding the source to yab.
You are right to say, put yab into the bin folder of Haiku (we ask many times, many years... nothing happens, since yab is out), so any open yab source are runable using the yab binary (if the source is made of base of the included yab version).
GitHub: Do that you like, but make it useable, every other way is stupid, because no one comes to try it out or begin development in yab, because the package are broken. Alternativly add a instruction to make the package workable. Give yab, a native development language for Haiku, a chance to alive.
And for the main question: Yes i have interest to take yab alive, so we make the unofficial version of yab. A result of testing and trying, because we are no C++ coders.
It will be fine to get some c++ coders to work on yab for the future releases. The main developers are not active, or we does not know that they are active.
http://www.besly.de: We have many tutorials for yab and much more. We starting a yab mailing list at freelists.org, for some years: http://www.freelists.org/list/yab-dev. We also starting up a IRC Channel on Freenode.org called #yab and #yab-dev, but we have not anough developers to make the channel full any time. If anyone have enough expierience in IRC, please make a bot for the channel ;-)
yab FAQ: http://besly.de/menu/search/archiv/dev/yab_faq_eng.html
yab Apps: http://besly.de/menu/search/archiv/misc/yabapps_eng.html
Sorry for bad english
Lelldorin
Re: Reviving the yab community
While we're on the subject, exactly the same argument applies to Squirrel. In some ways that was even newbie-friendlier than yab and right now it's even more broken.
We need this. We need yab, and Squirrel, and a Bethon installation that works out of the box. We need that Lua with API integration, and we need all of those integrated deeply into the OS, not something to be downloaded from a third-party site. Whether your programming background is in BASIC, Logo, Pascal, Python, Lua, Java or C, you should be able to sit down at a Haiku box and produce something straight away.
Look at what few new submissions there have been on Haikuware lately. Small yab utilities, QT ports in various stages of functionality and polish (please, porters, at least stick an icon on the thing) CLI ports, practically NO native Haiku GUI software written in C++. Am I the only one who thinks this is a crisis? If Haiku is not made attractive to developers at ALL skill levels to work with, then it will go nowhere.
Re: Reviving the yab community
Hello together,
please use the latest Package from bbjimmy and don't change anything on it. We are happy that yab is working, because there is no action by jan64 for fixing bug.
It's not a crime, when we have the same files also in the src directory of yab. I can understand that make no sence for c and c++ programmer, but yab is in this version good and working.
A conformity package can be build later by jan64 or stargater, when the make a new release in 10 Years ;-). Sorry, a little joke.
Best Regards
lorglas
p.s. on my webpage http://www.besly.de can you find some tutorial for yab
Re: Reviving the yab community
There is a bounty on bountysource to get Yab to fully work on the nightlies:
https://www.bountysource.com/issues/1370888-create-a-recipe-file-for-hai...
The GCI students might like to work on it after GCI, so add your own $5 to the $5 start off fee to get them interested.
Re: Reviving the yab community
My alternative IDE for yab, named Yabadabbadoo, is now in beta testing. Get it here: http://mysite.mweb.co.za/residents/clasqm/haiku/yab-apps/yabadabbadoo.html
Re: Reviving the yab community
Some people thinking, yab can not OO Programming, this is half true, in yab self you can make opbject as function and add it to a new function.
Could you please explain how you would do that?
Re: Reviving the yab community
Look at what few new submissions there have been on Haikuware lately. Small yab utilities, QT ports in various stages of functionality and polish (please, porters, at least stick an icon on the thing) CLI ports, practically NO native Haiku GUI software written in C++. Am I the only one who thinks this is a crisis? If Haiku is not made attractive to developers at ALL skill levels to work with, then it will go nowhere.
Right on the point, Michel. I fully agree.
Re: Reviving the yab community
Does anyone know if the original Yabasic is still developed? The original developer had already abandoned the project a long time ago, but then there was another guy working on it. Version 3 was under way, he said... Some interesting features were going to be added, such as associative arrays and *some* (limited) OO features too. Unfortunately, there has been no recent news about it, and it's release is long overdue. I am suspecting that the project might have been dropped altogether.
I was wondering, if a new Yabasic version were to come out, with those added features, would the development of our yab be influenced in turn? Of course, yab is an independent project now, but I think it would be nice to have those features. Would it be difficult to port them?
--------------
I think a little poll would not be out of place here, so I am making one.
POLL: what are the features that you would like to see added/changed in yab?
On my part:
+ associative arrays
+ *some* OO features/syntax (as an alternative, NOT as a replacement!)
Please comment.
Re: Reviving the yab community
You can add any feature that you want to see to this page: https://github.com/HaikuArchives/Yab/issues?state=open
Any bugs that you find in yab can be reported to the same page.
Re: Yab sources at HaikuArchives now
Done! Sources at https://github.com/HaikuArchives/Yab -- with Lelldorin's fixes. It will probably need some changes to the build infrastructure, as I deleted some duplicated files.
The information...
"The new Localizer makes localization easy. It also supports old ZETA locale files."
...is not correct, because this is the part of yab 1.7 (official) that does not run anymore, so we does not can compile the official version on Haiku 4.1 > Nightlies. So we remove this function and repair search and replace error and some other little things. Use this version as main Source please: http://haikuware.com/directory/view-details/development/editors/unoffici...
Re: Reviving the yab community
My alternative IDE for yab, named Yabadabbadoo, is now in beta testing. Get it here: http://mysite.mweb.co.za/residents/clasqm/haiku/yab-apps/yabadabbadoo.html
This will be more part of a new discussion!?
here a list of yab apps: http://besly.de/menu/search/archiv/misc/yabapps_eng.html
Re: Reviving the yab community
Remember, yab are team maui product and the main coder are jan_64. I am a initiator and yab have a code place.
You have idears or patches, then mail a patches!
http://www.haikuware.com/directory/view-details/development/language/yab
In the WIP we have nice Lokalisation Funktions and a yab app, but nice Haiku broke sometime the API, so we waiting for r1. Since you can used the latest version 1.7 (see the link).
Thanks and Happy coding, let us see what can you do with haiku. Personalty i like and love yab fullscreen demos.
stargater
Re: Reviving the yab community
Remember, yab are team maui product and the main coder are jan_64. I am a initiator and yab have a code place.
You have idears or patches, then mail a patches!
http://www.haikuware.com/directory/view-details/development/language/yab
In the WIP we have nice Lokalisation Funktions and a yab app, but nice Haiku broke sometime the API, so we waiting for r1. Since you can used the latest version 1.7 (see the link).
Thanks and Happy coding, let us see what can you do with haiku. Personalty i like and love yab fullscreen demos.
stargater
Mmmmhhh ok Stargater,
yes yab is part of Team Maui and Jan is der main Developer, but the last version comes out and one Haiku release later it does not run anymore. Trying to contact jan have no matches and no aswers on discussions in the internet about it too. No informations about a new release...
I like to see that people makes some brainstorming and try to make things better. We have a own IDE at work too, because we have changed many times the original IDE with some useful options, but they are never get part of the official IDE. And now we make our own one, to get that features we want to have in a yab IDE. I need to take a look into Yabadbadoo. The concept sounds interesting.
I will see if a new yab version in the future (some year i think this will be) have some new functions into it, to take reaction of wishes of the developers.
Without the work of the active developers in yab, yab will be dead for some years. We have make some dirty fixes to get yab 1.7 running on Haiku again. There are you?
Have a nice day... and yeah Happy yabbing :-)
yab.hpkg
I have a start on a yab.hpkg file .... it includes only the yab binary and documentation. get it at http://fatelk.com/yab My intent is to have three .hpkg files, yab, the one that is now available, source, and devel, yabide and buildfactory.
I am using the unoficial 1.7 version as the oficial version is broken. it is labeled 1.7.02
source available at the same address.
Re: Reviving the yab community
I have uploaded the .hpkgs
http://haikuware.com/directory/view-details/development/language/yab-170... yab and documentation
http://haikuware.com/directory/view-details/development/app-installation... yab sources
http://haikuware.com/directory/view-details/development/ides/yab-ide-pac... yab IDE and BuildFactory ( requires yab sources and yab)
.
Re: Reviving the yab community
Is anybody interested in contacting the developer of this program and continuing further development for Haiku? (posted on Haikuware) http://haikuware.com/20091004435/haiku-cd-burning
Haiku CD Burning
Written by Karl vom Dorff
Sunday, 04 October 2009 11:27
A nice application that normal Haiku users could use, is a CD Burning Program. The command line tools exist already, (mkisofs - included in Haiku & cdrecord, dvdrecord < not so sure the latter works under Haiku), but a GUI front-end would be welcome.
The author of Jaba jan__64 (which was a CD burning program included in Zeta and written in Yab), has asked for help in creating a new program for Haiku. So if you're good with Yab and artwork (icons) leave a comment here and we'll get you in contact with him.
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.
jan__64
JABA is a Team Maui project. the developer is not Jan__64. JABA was build by DasJott and was an commercial project selled for Zeta OS. Now Jan__64 have the source code and the rights to make a new version of JABA. He have started to port the program to Haiku for some years. But he have not the time to do it, and now any interest on yab anymore? I dont know. I hope for a new release and any lifesigh from Jan__64 in the future.
JABA was great, but written on very early yab version. They are many things to change in the source before it will be run again on Haiku. We habe BurnItNow on Haiku, is it not good enough? I dont know. I will be fine to see JABA rebuild for Haiku, but who have the interest and time? I have too many other projects running in the moment.
Re: Reviving the yab community
Yab and the yab-IDE both now have recipe files in haikuports:
http://bb.haikuports.org/haikuports/src/fec54e420f8705ee89e695ca824127e1...
http://bb.haikuports.org/haikuports/src/fec54e420f8705ee89e695ca824127e1...
Why they are not included included in the HaikuDepot HaikuPorts repository remains a mystery at this point.
Re: Reviving the yab community
Why they are not included included in the HaikuDepot HaikuPorts repository remains a mystery at this point.
May I ask what you've tried so far to get it into the repo?
Regards,
Humdinger
Re: Reviving the yab community
Could someone please write a step-by-step guide for newbies on how to install yab?
Re: Reviving the yab community
Sure, HaikuForever:
PulkoMandy just uploaded the packages created by haikuporter with recipes by bbjimmy. :)
Regards,
Humdinger
Re: Reviving the yab community
For earlier versions of Haiku goto http://haikuware.com and download either the yab and yab-ide .hpkg files or the yab 1.7 unofficial version. For .hpkg files, move them to ~/config/packlages. For the zip file, unzip and follow the readme file.
Re: Reviving the yab community
Could someone please write a step-by-step guide for newbies on how to install yab?
Do you using a nightly or a official haiku release?
The most tutorial about yab are availalbe at besly knowledge base
Re: Reviving the yab community
FYI - there has been recent YAB related discussion on the Haikuware forums.