PJB3005 / MoMMI

Old SS14 Discord server bot.
MIT License
12 stars 29 forks source link

[WIP]Adds support for static dm libraries #19

Open Carbonhell opened 5 years ago

Carbonhell commented 5 years ago

Adds support for users to use the #include directive to include libraries within the bot StaticLibs folder. While building the output, the code will intercept #include directives, attempt to find the library itself, and copy it over to the temp project folder. Untested as for now. Also includes the first library, utils.dm, containing some helper procs and most important, some defines to calculate processing time easily, courtesy of GinjaNinja32: https://github.com/GinjaNinja32/bot32/blob/dev/dm/util.dm

PJB3005 commented 5 years ago

So here's a fun problem:

The benchmark code you pulled from Ginja's bot is licensed under AGPL. My bot is MIT. On one side you can ignore this because who cares on the other it's kinda iffy.

GinjaNinja32 commented 5 years ago

All but stars (taken from BS12) and possibly seq (unsure of origin; it reads like my code, but I'm not sure) I wrote myself; I'm happy for you to take them under MIT for use here.

There are some additional changes in https://github.com/GinjaNinja32/bot32/commit/8bf6510a03bd6551fbc5c59ebdb741cd0e9a9cae that I've pointed Carbonhell to; BENCHT, BENCHTK, and BENCHTM I'm likewise happy for you to use under MIT.

ondrej008 commented 2 years ago

is this still work in progress? @Carbonhell