**** BEGIN LOGGING AT Thu May 14 02:59:57 2020 May 14 06:30:51 @abhishek_:matrix.org: @jkridner:matrix.org Can i use llvm to implement the given language? May 14 06:40:43 vedant16[m]: Sure, what are you looking at in LLVM currently? May 14 07:26:22 I have started with basic tutorials May 14 07:26:33 https://gnuu.org/2009/09/18/writing-your-own-toy-compiler/ May 14 07:30:29 Nice May 14 07:48:02 vedant16[m]: I’ve had https://github.com/bytecodealliance/wasmtime/tree/master/cranelift on my radar. Might want to take a look at that too. May 14 08:18:08 Ohk, so you suggest approach should implementing webassembly like bytecode for PRU May 14 08:18:23 And compile the language to that bytecode May 14 08:18:29 I will take a look at this. May 14 10:46:57 vedant16[m]: Actually, to make it very clear, no because we don’t want to waste the limited resources on the PRU to make yet another bytecode interpreter. May 14 10:49:15 But what’s important to take away from this WebAssembly exercise is that how it compiles instructions into the bytecode, and modify it’s backend to emit PRU assembly instead of WebAssembly bytecode, for example May 14 10:50:04 The LLVM path that you were reading about is the right direction, Cranelift is another way to achieve it May 14 10:50:59 If you look at Cranelift definition - “Cranelift is a low-level retargetable code generator. It translates a target-independent intermediate representation into executable machine code.” May 14 10:52:49 Then take a look at - https://github.com/bytecodealliance/simplejit-demo and draw parallel to the Bison+Flex+LLVM example May 14 11:48:48 Ohh, understood. May 14 11:49:06 I will complete basic tutorials of both these techs May 14 12:41:41 vedant16: You could hence use both the PRUs for real-time May 14 12:43:22 Okay, I am free anytime today or tomorrow if you want to set up the relay May 14 12:43:54 today 7.30? May 14 12:43:58 Yeah, seems a good advantage. May 14 12:48:33 7:30 works for me, Abhishek_ are you available? May 14 12:49:08 Yes May 14 12:51:36 Okay May 14 13:41:51 Do I need to do any setup? My Wifi hasnt been working, hope it works over a 4g connection May 14 13:59:32 Give me a few minutes May 14 13:59:39 10-15mins May 14 14:17:17 Hey, i'm here May 14 14:17:49 Here too May 14 14:21:54 Im here May 14 14:30:12 We're going to connect to my beaglebone right May 14 15:02:05 hey is it up? May 14 15:02:37 Abhishek_: vedant16 still here? May 14 15:06:37 yeah, I'm May 14 15:18:30 vedant16: i wasnt able to talk with Abhishek, also lost connection a few times. I will let you know when we set things up May 14 15:18:46 Okay cool ! May 14 15:18:47 Here May 14 15:24:23 Abhishek_: how do we give access to Vedant May 14 15:24:41 SSH tunnelling May 14 15:25:12 I was looking at some online guides for the same May 14 15:33:03 Okay, port forwarding would have been easier if I had my router working May 14 15:33:19 ngrok tcp 22? May 14 15:37:15 saketh: havent used it, do you have a guide? May 14 15:39:14 Going afk until tomorrow, hopefully there’s a nice set of instructions and then we can coordinate again May 14 15:39:47 vedant16[m]: Keep chipping away at the LLVM stuff in the meantime and let me know how it goes. May 14 15:42:23 Abhishek_: Okay, I'll try to search of a way in the meantime May 14 17:03:39 yes ! May 14 18:21:46 vedant16[m]: llvm is interesting, but I think the gcc support for the PRU could be of interest..... I'd think that botspeak could almost be implemented as assembler macros. May 14 18:23:11 Abhishek_: I'd really want this to be a standard kernel and/or pure-PRU firmware component. if kept small, just having it run as an rpmsg server like what I did for my cloud9-example should be doable. May 14 18:24:16 lorforlinux[m]: no need to dm me.... those typically get ignored/lost. only dm me if we need to share private information. May 14 18:24:30 lorforlinux[m]: for discussing 1:1 meeting times, I think we can do that directly here. May 14 18:24:57 I need to recall who all are the co-mentors. May 14 18:25:24 this time of day is typically pretty good for me, but I guess you are sleeping right now. :-) May 14 18:25:38 ds2 Abhishek_ and pdp7_ are the co-mentors. May 14 18:25:52 ah, you are up! May 14 18:25:59 isn't it *really* late there right now? May 14 18:26:27 ds2 is typically available later in the day (US Pacific time) May 14 18:26:57 Yes, it's very late. May 14 18:27:00 pdp7 seems to be available in the evenings for him (Europe Central time) May 14 18:27:15 lorforlinux[m]: so, this would be a really bad time, right? how late is too late? May 14 18:28:00 Abhishek_ is typically in the same time zone. Abhishek_, do you have plans to travel to other timezones this Summer? I guess not many people can have travel times now. :-( May 14 18:28:11 This is probably a really bad time for Abhishek_ May 14 18:28:47 I am ready to change my sleep schedule if necessary. May 14 18:30:54 lorforlinux[m]: thanks for being flexible. let's try to make sure Abhishek_ is available. I'd think anything starting past 22:00 there would be probably not-nice. May 14 18:31:00 Abhishek_ ans I have same timezone. So, yes this will not be a good time for him too. May 14 18:31:10 *and May 14 18:33:02 I think we can start it at 22:00 just like our Wednesday meeting. If others are okay with that. May 14 19:06:50 a bit later might be better for ds2. is 22:30 tolerable Abhishek_? May 14 19:07:07 if so, we just need to pick a day. May 14 22:14:00 22:00 what TZ? **** ENDING LOGGING AT Fri May 15 02:59:57 2020