World: r4wp
[#Red] Red language group
older newer | first last |
Kaj 27-Mar-2012 [316x6] | I've added some floating point convenience wrappers matching the other data types |
This should work for conversion: | |
to-integer form-float | |
Note that the string returned by form-float should be freed | |
The other way around is already used in my Fibonacci and Mandelbrot time processing: | |
to-float form-integer | |
Andreas 27-Mar-2012 [322] | On Linux, you could also avoid going through strings and use lrint(3)/lrintf(3). |
Kaj 27-Mar-2012 [323] | Is that GLibC specific? |
Andreas 27-Mar-2012 [324] | ISO C 99 |
Kaj 27-Mar-2012 [325] | OK, that could be considered as a binding enhancement, then |
Andreas 27-Mar-2012 [326] | Should work on anything except Windows. |
Kaj 27-Mar-2012 [327x2] | Once the Red runtime is more fleshed out I'll see what is still useful to add in Red/System |
Windows doesn't support C99? | |
Andreas 27-Mar-2012 [329] | Nope. |
Kaj 27-Mar-2012 [330x4] | Sigh |
I wrote a binding with the Evince document viewer for the Document Freedom Day tomorrow: | |
http://www.documentfreedomday.nl | |
I now have a GTK widget that can show PDF documents | |
Gregg 27-Mar-2012 [334] | That's great Kaj! |
Endo 27-Mar-2012 [335] | Wow, that's cool! |
DocKimbel 27-Mar-2012 [336] | I cannot connect to the URL, it seems to timeout on every attempt. |
GrahamC 27-Mar-2012 [337] | The URL is in dutch |
Kaj 27-Mar-2012 [338x3] | Our server was down for a short while |
I also have WebODF running on my WebKit browser and a local Cheyenne, so I effectively have a viewer for OpenOffice/LibreOffice ODF documents | |
Since the browser is in the form of a GTK widget, this viewer is also a GTK widget | |
Kaj 28-Mar-2012 [341x2] | We're at the Document Freedom Day now. I presented the GTK binding and the Evince and WebODF widgets |
We also have a presentation by the WebODF author every year :-) | |
BrianH 29-Mar-2012 [343x2] | It's just MSC that doesn't support C99. There are other C compilers on Windows that do support it. |
How well they support it varies, I'm sure, as it does on all platforms. | |
Kaj 29-Mar-2012 [345] | Do they come with C libraries that you need to install to get these functions? |
Bas 3-Apr-2012 [346x3] | In this DocumentFreedomDay-2012-playlist you can also find the film of Kaj's presentation about Red bindings with WebODF, LibreOffice and PDF last week in the Royal Library in The Hague, the Netherlands. |
http://www.youtube.com/watch?v=UzdT9s-CfdE&list=PL2736E5F6878491D9&index=5&feature=plpp_video | |
http://www.documentfreedomday.nl/2012/WebODF-LibreOffice-Evince.html | |
james_nak 5-Apr-2012 [349] | So that's what Kaj looks like! Kaj, you have a very kind face. :-) It is an excellent quality video as well. Of course I have very little idea of what you are saying but once you get to the code, it's familiar. Thanks Bas for posting this. |
Kaj 5-Apr-2012 [350] | Thanks. :-) I tried to make the text on screen as readable as possible, because it was small on the previous video. Of course, this one is in Dutch. Maybe we can combine English speech and big text in the next one :-) |
Pekr 6-Apr-2012 [351] | I hope Doc is OK and working on RED like mad :-) Last commits are 12, 16 days old :-) |
PeterWood 6-Apr-2012 [352] | He said that he has started work on the Red compiler in parallel to the Red runtime but isn't ready to commit the compiler to Github yet. He told me that the runtime was likely to change as he was developing the compiler, so I guess that he feels that it is not worth commiting code that he feels is not stable. |
Pekr 6-Apr-2012 [353x2] | Thanks for some news. |
Btw - I also noticed Doc mentioning during the conference, that he might make a Red a bit more dynamic than he first thought? | |
PeterWood 6-Apr-2012 [355] | I think he was tallking about a similar flexibility as REBOL in passing arguments to functions; the programmer can enforce strict typing or not. It will be interesting to see if Red allows the programmer to define new types. Red/System does with alias!s for struct!s and enforces strict typing. But it doesn't allow the programmer to define other types. |
DocKimbel 6-Apr-2012 [356x2] | Pekr: I am working on the Red compiler mostly these days and I need to push further than I thought first in order to more accurately define the runtime part. As I want to respect my roadmap, I want the runtime to be stable enough to release v0.3.0 with an alpha version of Red compiler. Be patient, it's coming. ;-) |
User-defined types: yes, that's a desirable feature, but probably not in the Red alphas. | |
Pekr 6-Apr-2012 [358] | I am patient, it's just that after the experience with RT, I fear you might get lost somewhere between the lines of the source code :-) |
Kaj 6-Apr-2012 [359x2] | Montenegro looks like the real caves are there, instead of in the hills of California ;-) |
Funny, I was just wondering about user-defined types last night | |
DocKimbel 6-Apr-2012 [361] | There are both countless caves and hills here. ;-) |
Pekr 6-Apr-2012 [362] | Doc, one unrelated question - how do you use your own domain for a Blogger? Is it just some kind of redirection to blogspot.com, or are you running blog SW on your own/hosted server? |
DocKimbel 6-Apr-2012 [363x2] | I've setup the DNS entries for the domain according to blogger's tutorial. |
So the domain is pointing to blogger's servers. | |
Pekr 6-Apr-2012 [365] | so is your blog available even via something like red-lang.blogspot.com? |
older newer | first last |