Blogroll
Categories
- ASF (14)
- Butter (22)
- Concrete5 (8)
- desktop (43)
- development (12)
- feathercast (7)
- General (401)
- laptop (25)
- mobile (89)
- Phone (10)
- Photography (5)
- QuadCopter (1)
- Soapbox (10)
- Telescope (6)
- wind farm (16)
Meta
Category Archives: Butter
re2c & lemon, fixing bugs
Chatting with Theo he suggested that rather than struggle with bison & flex I look at re2c and lemon. A quick web search and there they were! They do look like interesting apps to use and so I’ve installed them … Continue reading
Posted in Butter
Leave a comment
bison
After doing some work to make sure that we correctly rebuild when settings are changed, or could have been changed, I decided to try and add another piece of the puzzle that’s missing. Adding it requires making some changes to … Continue reading
Posted in Butter
Leave a comment
charging to 300…
Old projects never die, they just fade away…. Until someone asks you about it and shows a little interest. At that point they get dusted off and made to work again. In fact, often they get all spruced up and … Continue reading
Posted in Butter
Leave a comment
Bugs fixed
In my usage of butter I’ve found a few small bugs that I’ve fixed today. Some were minor and more niggles, but the biggie was not installing after building when invoked as butter -install. The problem seems to be to … Continue reading
Posted in Butter
Leave a comment
Dependancies
Now that I’ve been using butter for building quite a large tree I’ve found that the automatic dependancy code needs a little more work before it’s quite doing what it needs to. Presently building a dependancy doesn’t trigger other builds, … Continue reading
Posted in Butter
Leave a comment
FreeBSD
Butter now builds on FreeBSD and showed up a few minor problems (now fixed) and a couple of strange warnings… In file included from /usr/include/sys/time.h:291, from /usr/include/sys/stat.h:50, from File.cpp:6: /usr/include/time.h:144: warning: `char * timezone(int, int)’ hides constructor for `struct timezone’ … Continue reading
flex & “
I’ve been trying to figure out how you get flex to treat things between quotes as a string, something that has a lot of potential uses. The recent changes to Run somehow demanded it so I tried again. The answer … Continue reading
Posted in Butter
Leave a comment
Is it newer?
One of the aims of butter is to build only what needs building. Presently every source file is compared with the object that it should result in and the final binary for “up to dateness” and things built as required. … Continue reading
Posted in Butter
Leave a comment
Names
I’ll admit it, I’m rubbish at naming things. I tyhink I hung out with Ryan too long and caught whatever he was infected with as neither of us can name things worth a damn. The present dilema is for butter’s … Continue reading
Posted in Butter
Leave a comment
Installing
Added a few more functions today to enable the main project using butter to be installable using “butter -install”. It now works, which is kind of cool. The uninstall feature isn’t yet working and the work has thrown up a … Continue reading
Posted in Butter
Leave a comment
Big progress
Well, butter is now capable of building a reasonably complex project and can handle a surprisingly large rnage of problems thrown against it. I’ve added the notion of named sections that can be run by either Rules or Templates presently. … Continue reading
Posted in Butter
Leave a comment
Progress
I discovered a bug that I’d managed to introduce into butter that basically meant that the settings weren’t being segregated correctly (inheritance wasn’t correct and in the process of fixing it I’ve managed to also change the syntax slightly again! … Continue reading
Posted in Butter
Leave a comment
Duh!
Sometimes things are so simple, so obvious that you really do feel like Homer when they hit you. standing cleaning my teeth (as you do) it suddenly hit me that the solution for removing a lot of mess from the … Continue reading
Posted in Butter
Leave a comment
rpath
I’ve been trying to figure out how to deal with rpath for a while now. It’s really required for builds that use shared libraries that aren’t yet installed and yet it’s not easy to add using a sensible syntax. I’ve … Continue reading
Posted in Butter
Leave a comment
Finally…
Using bison & flex really do make life easy, but only once you’ve spent time pulling out your hair to try and figure out the syntax you need! In an attempt to make the parsing easier and make things more … Continue reading
Posted in Butter
Leave a comment
Do it with yourself???
With the latest commit once butter has been built using make, it can then be built usinf butter! The only slight problem is that I haven’t yet thought how to get rpath into the link for the executable, so it … Continue reading
Posted in Butter
Leave a comment
It builds!
Well, after much hacking about butter has now built the butter library, correctly dealing with the flex & bison conversions into the bargain. The challenge now is to get targets that depend or require each other to be a) built … Continue reading
Posted in Butter
Leave a comment
Target naming
When working on the previous iteration of butter, Ben mentioned that having namespaces might prove useful. As butter runs on a system of distinct “targets”, each of which has the ability to control it’s own destiny, on a large project … Continue reading
Posted in Butter
Leave a comment
Progress report…
Bison & flex are actually pretty cool once you get into them, though I still don’t profess to understand all the various subtleties. I’m sure the code I’ve ended up with can be improved. To get round one problem I … Continue reading
Posted in Butter
Leave a comment
Bison
Ben suggested a long time ago I look at using bison for the parsing of the source files, so I’ve started trying to figure out how to do that with bison. Hopefully it’ll allow me to remove all that ugly … Continue reading
Posted in Butter
Leave a comment