Cassie Jones
Cassie Jones
The current wrong way I'm doing it is implementing an internal basic file interface, which basically consists of: ``` fopen fname mode : string -> string -> float (* returns...
That's the nasty part right now. It's apparently standard to do ``` let fd_of_int (x: int) : Unix.file_descr = Obj.magic x in let int_of_fd (x: Unix.file_descr) : int = Obj.magic...
If you're talking about the nastiness of the conversion, that is all hidden from Emily. But if you're talking about the nastiness of integer file handles, that's the question. I...
I was just saying that the methods in the object maybe shouldn't map 1:1 with the file operations, because dangerous things, but now I'm thinking you're right. But this brings...
@mcclure even though it uses 64 bits, you can't create all of those. It appears that Windows is never willing to give you more than 2^24 handles (looking at [this](http://blogs.technet.com/b/markrussinovich/archive/2009/09/29/3283844.aspx)),...
@mcclure I agree with the idea that things should be extensible for the user, but I will note that I could, for the time being, add support directly in the...
Yeah, you can determine whether to add a negate or a subtraction based on the context. If the operator is directly after another operator, or after nothing, then it's a...
@mcclure most functional languages which have `-` as unary negation (like Haskell) expect people to put parenthesis around the negation, and in a case like `sin -n` I would probably...
Also, I just made a little thing that handles the binary, octal, and hex literals, but only without a fractional part for now. ``` $ ./install/bin/emily -i Emily language interpreter:...
I also came here to report this same issue, so this is confirming it. It seems to make this unusable for very complex menus.