I've been trying to understand how Io works and what goes on under the hood. I'm becoming more and more impressed with it, but am a little confused about a a...
... I don't understand what you mean with "123" and "this is a word" please clarify that. However, TRUE, FALSE and NIL are just constants that point at ...
Jeremy Tregunna
jeremy.tregunna@...
Jun 4, 2009 2:37 pm
11516
... What I mean is the construction of numbers and strings....
... That's part of the parsing subsystem. When the lexer matches certain patterns (like numbers or strings), it will create a token of that particular type....
Jeremy Tregunna
jeremy.tregunna@...
Jun 4, 2009 3:34 pm
11518
... Jeremy, But a message (or tree of messages) must, at the end of the day, be sent to real objects (right?). If primitive objects like numbers and strings...
... Strings and Numbers *ARE* objects just like any other. They just happen to be created in C code rather than Io code. You can manipulate number objects just...
... Hi Tobey, Everything compiles to a tree composed of messages. Literals such as numbers and strings in the source become instances of number and string...
This build problem first occurred a couple years ago for me, and I just noticed the latest code I pulled from github still has the same issue. Steps to...
In my opinion this isn't the responsibility of io, nor any other library to do. It's not third party developers fault that GNU ld is "dumb" (I don't use that...
Jeremy Tregunna
jeremy.tregunna@...
Jun 7, 2009 6:52 pm
11524
... Hi Dennis, Thanks for the issue report. Could you add something to the makefile to fix Ubuntu that doesn't break other systems? I'd be happy to accept a...
... That's a bad idea Steve, as it depends on "sudo" being installed, AND the user actually having privileges to run it. It would break installation on systems...
Jeremy Tregunna
jeremy.tregunna@...
Jun 7, 2009 10:55 pm
11526
... iirc, "it" *already* depends on "sudo" ... I was going to "fix" it but still have no round tuits ... -- --gh...
Guy Hulbert
gwhulbert@...
Jun 7, 2009 11:04 pm
11527
... Actually, io does not depend on sudo. It recommends using it to install, as most users build io as an unprivileged user. Regards, Jeremy Tregunna ...
Jeremy Tregunna
jeremy.tregunna@...
Jun 8, 2009 12:02 am
11528
... My main concern is with making Io easy to set up. If there is a security concern with sudo, perhaps we can prompt the user to ask if it is ok to use it...
... There's not... It's just something a user has to actually have installed to work. I'd say conservatively, only about 40% of users actually have it...
Jeremy Tregunna
jeremy.tregunna@...
Jun 8, 2009 12:13 am
11530
... Try: git clone <io-url> cd <top-dir> find -type f -exec grep 'sudo' '{}' \; I don't believe you will find the output empty (it's in one of the add-ons but...
... The (naive) GNU standard used to be: $ su - root # ./configure # make # make install However you only need to be root for the final step and normally...
Guy Hulbert
gwhulbert@...
Jun 8, 2009 12:49 am
11533
... The 'echo' is new since I did this (last year). When I ran the 'make', I got a password prompt. Perhaps Steve added the 'echo' since then. -- --gh...
Guy Hulbert
gwhulbert@...
Jun 8, 2009 12:51 am
11534
... It looks like it echoes it and then executes it, no?...
... The System system(cmd) is what actually executes the string stored in the cmd slot which contains the echo. So no, it does not appear to actually execute...
Jeremy Tregunna
jeremy.tregunna@...
Jun 8, 2009 2:18 am
11536
... We're talking about the SGML/build.io cmd string above, right? It ends like this, which is sent to the system sh: echo "sudo make install" && sudo make...
Sorry, missed that. ... Regards, Jeremy Tregunna jeremy.tregunna@......
Jeremy Tregunna
jeremy.tregunna@...
Jun 8, 2009 3:47 am
11538
... Sorry for the confusion what I meant is that (on Ubuntu) the user has already sudoed the whole make install command in the first place, so you wouldn't...
Since it looks like some people are online answering messages right now, I thought I'd ask a quick question of you. :D For the game engine I'm working on, I...
... I would rather that the install software not be so helpful. As I pointed out, using sudo is, in principal, not required at all. Moreover, anything done as...
Guy Hulbert
gwhulbert@...
Jun 8, 2009 10:12 am
11541
... Perhaps not, but over the last 16 years, I have answered this question to Linux users many times... so many, I lost count probably around 1994... Simple...
Jeremy Tregunna
jeremy.tregunna@...
Jun 8, 2009 11:46 am
11542
... The code that presents the user with the prompt and receives the input line can just call doString(theInputString) and I think it should have the behavior...
Thanks that was a big help but it wasn't quite the solution. I was able to make it run a background process simultaneous to generating my own prompt. But...