« first day (262 days earlier)      last day (2232 days later) » 

00:30
@Dennis can you add LLVM IR to TIO?
I think you're using ubuntu so this should help: apt.llvm.org
IIRC you can just do lli llvmFile.ll
3 messages moved from The Nineteenth Byte
@Downgoat v1 used Ubuntu, but the new servers run on Fedora.
01:01
@Dennis This is an example of calling a c function with nasm: gist.github.com/AndrewSav/9ddf2026d797e3f969b4988644b39d2d
Note that this is for Fedora specifically
internet recommends linking with gcc instead of ld to avoid OS specific issues
@Dennis I'm not sure how to answer that. Intuitively both. You cannot allow people to download stuff, so this is something only you can do, however, it probably would be easier for you once you downloaded/installed a library, that people have a good way to include (or not) this library for their code
@Dennis Yep, seen that, not sure how you are going to pull that off
@Dennis thank you, looks good
The certs were issued April 15. Just had to restart httpd.
@Downgoat probably would help if you could give an example of how to use it? A hello world program in IR along with command line to compile / run it would certainly help
@AndrewSavinykh this should work:
@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00"
declare i32 @puts(i8* nocapture) nounwind
define i32 @main() {
    %cast210 = getelementptr [13 x i8]* @.str, i64 0, i64 0
    call i32 @puts(i8* %cast210)
    ret i32 0
}
01:17
@Downgoat how to run
45 mins ago, by Downgoat
IIRC you can just do lli llvmFile.ll
@Downgoat let me try that
lli: llvmFile.ll:4:41: error: expected comma after getelementptr's type
%cast210 = getelementptr [13 x i8]* @.str, i64 0, i64 0
@Downgoat did you try running that yourself?
oh oops, sorry, try this:
@str = internal constant [14 x i8] c"Hello, world!\00"
declare i32 @puts(i8*)
define i32 @main()
{
  call i32 @puts( i8* getelementptr ([14 x i8], [14 x i8]* @str, i32 0,i32 0))
  ret i32 0
}
@Downgoat ew brace on new line
sorry
01:24
@Downgoat llvm doesn't need linkng to libc to do puts?
no
idk why i guess magick
either lli automagically links or some OS thing
01:39
@Downgoat yep that seemed to work
Should be easy enough to add if it's not of the ones that require internet access just to run
01:52
@ASCII-only well that's how brackets should be. They should line up and match
 
4 hours later…
06:03
That's proper matching up of brackets ;)
06:36
Just wondering, does @Dennis want TIO to be used mostly by PPCG community, or for all kinds of random people to use it?
With the LLVM getelementptr thing, the syntax changed for several commands somewhere between 3.7 and 3.9.
So I have a bunch of commands in my compiler that have to conditionally change on the LLVM target version :X
07:17
@feersum what's the difference from your perspective?
07:51
@AndrewSavinykh Whether it would be good to share it with people or not.
@feersum right. I can't speak for Dennis, but I'd be really surprised if he was against
Well I don't know if Dennis wants to quit his day job to build a scalable version of TIO :P
@feersum It's pretty good right now. The load is not very high, and Dennis just finished test implementation of a system that allows easy load balancing between arbitrary number of arenas
Of course each new arena costs, but it's not prohibitive yet
08:15
and donations are always welcome ;)
 
6 hours later…
14:11
@Dennis : A setting to run the code file through the C preprocessor, regardless of the actual language being used, and the ability to specify flags for the preprocessor.
(I want to be able to #include .input.tio)
@Dennis could you pull Ohm?
 
1 hour later…
15:25
: JWasm Assembly
15:45
@feersum Nothing would make me happier.
@NickClifford Done.
@Phoenix That sounds way too specific.
Aww
I want to preprocess my C# ;(
16:21
XD
But wouldn't that mess up any language that uses #-comments? :(
That's why I suggested it be a setting
As far as I can tell, there isn't actually a tool anywhere online that will run the C preprocessor on arbitrary text.
16:42
You could always wrap pre-processing and compilation in a Bash script.
I've been trying. I can't figure out which argument it's supposed to be.
 
3 hours later…
19:20
@Dennis I think this is a language request: codegolf.stackexchange.com/a/120123/8478 (not sure whether you were already aware of it)
@MartinEnder Hadn't seen the post, but @Phoenix already requested Standard ML.
yeah, that's kinda what I meant. just thought I'd let you know in case no one had requested it yet.
Lots of stuff piled up in the last week. :/
But thanks for the heads-up. :)
 
1 hour later…
20:27
You've sent €88.93 EUR to [email protected] - I didn't know you weren't located in the USA... I'm going to get jailed by Trump for supporting communist values.
@carusocomputing Is everything outside USA falls under "communist values"?
Anonymous
@carusocomputing Wow, that's really generous! You're awesome!
@mego generous is dedicating your time to something as cool as TIO.
@Andrew in trumps eyes? Yes.
@carusocomputing @Dennis definitely deserves it but you too deserve our warmest thanks
Money is always easy to come by... Time is not.
Anonymous
20:33
I wish I wasn't in the opposite situation right now :P
21:01
@mego if you're young, time is infinite 😝.
And if you live in Ohio, I'd be glad to get you an interview, we need people who actually are interested in programming theory, not just money.
Anonymous
Unfortunately no, I live in Texas, and am looking to move to Seattle soon for a job there
21:23
@Downgoat can it (llvm, not your code) take input?
22:15
@AndrewSavinykh yeah, passed through stdin would be optimal way to receive imo
Note that this is not TIO (yet)
re:input, if I don't have an example of how to take input I cannot test it. but perhaps you can now with the link above (if you'd like to)
 
1 hour later…
23:45
@carusocomputing Thank you so much! :)
Also, Paraguay is pretty right-wing. Not sure what Trump thinks about it, but we're definitely not communists. ;)
@AndrewSavinykh Nice! I'll try to merge that tonight.
@Dennis Can you pull Charcoal? Thanks!

« first day (262 days earlier)      last day (2232 days later) »