Search
Friday, 23rd of March 2018, 20:47:19 UTC
20:47:19
Bike
you can run a pass and it will mark encloses as stack allocatable.
20:47:35
Bike
since cleavir comes with no backend at the moment, the rest is up to you
20:49:40
karlosz
well that's essentially all i would need, clisp has a bytecode emiting backend i would hook up the analyses passes into
20:50:46
Bike
if you have any questions about cleavir before worrying about passes i can field those too.
20:52:06
Bike
https://github.com/robert-strandh/SICL/blob/master/Code/Cleavir/Environment/Examples/sbcl.lisp
20:52:21
Bike
this is sufficient for running cleavir in sbcl, though it has no backend
20:52:28
Bike
so you can get an idea of what the implementation hookup looks like
21:08:13
karlosz
by backend you just mean it doesn't actually interface with the code generation part of sbcl right?
21:11:22
Bike
yeah. it's actually for the frontend of generate ast
21:11:36
Bike
which has been replaced by cst-to-ast, but the methods here are the same
21:12:33
karlosz
why is it necessary to have an sbcl lexenv at all, if its just supposed to generate a cleavir ast structure?
21:14:25
Bike
you have to compile in an environment.
21:14:38
Bike
if you have the form (foo bar) you have to consult the environment to know if foo is a macro or a function or what.
21:17:50
karlosz
okay, i see. i thought it would be using the rest of sicl
21:18:42
Bike
cleavir is just a compiler, you can use it without the rest of sicl
21:19:24
karlosz
although it seems that other components form sicl like fast gf have landed in clasp too
21:20:41
Bike
clasp has its own implementation, actually.
21:21:27
Bike
but yeah there's a few other parts incoporated.
21:22:11
drmeister
karlosz: It required pretty pervasive changes to Clasp/ECL CLOS to get fastgf integrated into Clasp.
21:26:23
Bike
note to self,, monday, destroy structureClass
21:26:50
drmeister
You mean StructureClass_O? Is it even used?
21:27:06
drmeister
Probably not based on what you just said.
21:32:18
karlosz
hi beach, if you are interested, i've created a draft proposal here: hhttps://docs.google.com/document/d/1nPAQRbGR717-onXMW5M--dRCTr5I_xbfILjeVrReMyM/edit?usp=sharing
21:32:38
karlosz
hopefully i haven't misrepresented sicl
21:33:21
drmeister
There's a typo in the URL. hhttps:...
21:34:39
karlosz
excuse me also for the google drive link, i think that is google's preferred way for applicants to submit proposals
22:20:19
Bike
i don't think it's used, no
22:20:33
Bike
but files tend to gather includes in weird ways
22:21:05
Bike
like ten files include structureObject.h, which has defined only lisp accessible things for like a year
6:26:31
beach
Good morning everyone!
6:28:27
beach
karlosz: Reading your proposal now.
6:34:55
beach
The proposal looks good.
6:35:43
karlosz
beach: thanks for looking it over
6:37:04
beach
Does GSOC still require some pre-approved organization to provide the advisor for the project?
6:37:39
beach
I remember trying to make my university such an organization in the past, and I failed.
6:37:50
karlosz
although in this case clisp is strange
6:37:57
karlosz
GNU is an approved organizatoin
6:38:52
karlosz
i'm not sure if universities count as organizations in the GSoC page
6:39:11
karlosz
sorry, i meant in the GSoC definition of organization
6:39:14
beach
That might have been the problem then.
6:39:28
karlosz
i think it has to be some actual 'project', perhaps one affliated with a university
Saturday, 24th of March 2018, 8:47:19 UTC