Skip to content

Instantly share code, notes, and snippets.

View timm's full-sized avatar

Tim Menzies timm

View GitHub Profile
@timm
timm / Agent.md
Last active March 26, 2024 14:10
multi-objective planner
@timm
timm / !juju.md
Last active March 31, 2023 13:44
multi-objective semi-supervised explanations (in julia)
@timm
timm / Makefile
Last active April 6, 2023 01:53
xfun : semi-supervised multi-objective explanation (in LISP)
-include ../config/do.mk
DO_what= xfun: semi-supervised multi-objective explanation (in LISP)
DO_copyright= Copyright (c) 2023 Tim Menzies, BSD-2.
DO_repos= . ../config ../data
install: $(DO_repos) ## get related repos
brew install rlwrap clisp sbcl
../data:

data sets for moead

@timm
timm / !sway101.md
Last active March 19, 2023 02:00
Multi-objective semi-supervised learning
@timm
timm / !TABU_files.md
Last active March 1, 2023 03:29
!TABU .lisp
Name. What
tabu.lisp main
tabu-lib.lisp background routines
tabu-eg.lisp test suites
@timm
timm / !DOT config files.md
Last active March 1, 2023 03:21
!DOT config file library
Name. What
_dotvimrc vim config file
_dotbashrc bash config file
ell shell config boot file
@timm
timm / eg.md
Last active October 1, 2022 18:52
Very lightweight Markdown generation from LUA code. Supports a type hints.

readme.lua

Assumptions:

  1. Lines with Markdown start with -- (and we will print those).
  2. We only show help on public function.
  3. Public functions are denoted with a trailing "-->", followed by return type then some comment text. e.g. function fred(s) --> str; Returns s, written as a string
@timm
timm / !config.md
Last active April 4, 2023 13:51
config files
@timm
timm / cc.lua
Created November 8, 2021 17:01
emulating pythons "import" statement, in lua
-- example of function returning a table of names we want to import
function fun1() print(1) end
function fun2() print(2) end
function fun3() print(3) end
function fun4() print(4) end
function fun5() print(5) end
return {fun3=fun3, fun1=fun1, fun2=fun2, funs5=fun5, fun4=fun4}