Code Monkey home page Code Monkey logo


home | doc | code | discuss | license

README

Because learning is not the filling of a pail, but the lighting of a fire.

Help

command notes
./burn FILE run FILE.awk
./burn ed FILE edit FILE
./burn okay run all tests
./burn zap delete generated files (forces recompile)
./burn pull get from git
./burn push send back to git
./burn license show license
./burn help show help

As a side-effect of running ./burn, the directory "$HOME/opt/lua/burn/doc" is updated with current versions of the html generated from the *.lua files in this directory.

Note that this code cannot load any X.lua file for X in ed, okay, zap, pull, push, license, help.

Systems

Files

The system is divided into

.
./burn           # shell script with convenience functions
                 # When run, it does "cd lib", then runs there
./data/*         # example data files
./docs/*.html    # auto-generated from lib/*.lua files
./lib/*.lua      # the actual system
./tests/*ok.lua  # to test "lib/x.lua", load "tests/xOk.lua"

Globals

There is only one global.

  • Loading ./lib/burn.lua will add Burn to the global enviornment. This global holds some system stuff plus whatever global config options needed by the system.
  • Loading any other files should be var safe (i.e. only locals defined).

Hence the standard way to use these files is:

local Stuff=require("stuff")

There is only one global function. burn(), which creates Burn.

  • The first time it is called, then burn()
    • Creates Burn.sys which is a table holding some system stuff (e.g. test cases, test case cores).
    • Adds '../tests/?.lua' to package.path.
  • For all subsequent calls, burn() does not adjust the current contents of Burn.sys (which means that, e.g. we can accumulate a global count of passing/failing tests here).

burn's Projects

ezr icon ezr

Explanation system for semi-supervised multi-objective optimization

lab icon lab

LAB = lean adaptive brain (via sequential model optimization)

lite icon lite

semi-supervised multi-objective explanation algorithm

pylab icon pylab

PAC= progressive adaptive controller (a Python-based sequential model optimizer)

src icon src

lua code for a multi-objective optimizer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.