go-vise

Constrained Size Output Virtual Machine
Info | Log | Files | Refs | README | LICENSE

ModeNameSize
-rw-r--r--.gitignore8L
-rw-r--r--CHANGELOG119L
-rw-r--r--LICENSE661L
-rw-r--r--Makefile35L
-rw-r--r--README.md259L
-rw-r--r--asm/asm.go417L
-rw-r--r--asm/asm_test.go446L
-rw-r--r--asm/doc.go2L
-rw-r--r--asm/flag.go133L
-rw-r--r--asm/log.go9L
-rw-r--r--asm/menu.go94L
-rw-r--r--asm/menu_test.go50L
-rw-r--r--cache/cache.go225L
-rw-r--r--cache/cache_test.go227L
-rw-r--r--cache/doc.go2L
-rw-r--r--cache/error.go9L
-rw-r--r--cache/log.go9L
-rw-r--r--cache/memory.go53L
-rw-r--r--db/db.go287L
-rw-r--r--db/db_test.go96L
-rw-r--r--db/dbtest/doc.go2L
-rw-r--r--db/dbtest/log.go9L
-rw-r--r--db/dbtest/testutil.go307L
-rw-r--r--db/doc.go2L
-rw-r--r--db/dump.go56L
-rw-r--r--db/error.go41L
-rw-r--r--db/fs/doc.go2L
-rw-r--r--db/fs/dump.go82L
-rw-r--r--db/fs/dump_test.go168L
-rw-r--r--db/fs/fs.go190L
-rw-r--r--db/fs/fs_test.go190L
-rw-r--r--db/fs/log.go9L
-rw-r--r--db/gdbm/doc.go2L
-rw-r--r--db/gdbm/dump.go79L
-rw-r--r--db/gdbm/dump_test.go67L
-rw-r--r--db/gdbm/gdbm.go139L
-rw-r--r--db/gdbm/gdbm_test.go171L
-rw-r--r--db/gdbm/log.go9L
-rw-r--r--db/log.go9L
-rw-r--r--db/mem/doc.go2L
-rw-r--r--db/mem/dump.go12L
-rw-r--r--db/mem/log.go9L
-rw-r--r--db/mem/mem.go104L
-rw-r--r--db/mem/mem_test.go57L
-rw-r--r--db/postgres/doc.go4L
-rw-r--r--db/postgres/dump.go77L
-rw-r--r--db/postgres/dump_test.go89L
-rw-r--r--db/postgres/live_test.go68L
-rw-r--r--db/postgres/log.go9L
-rw-r--r--db/postgres/pg.go264L
-rw-r--r--db/postgres/pg_test.go318L
-rw-r--r--debug/map.go93L
-rw-r--r--debug/node.go58L
-rw-r--r--debug/parse.go84L
-rw-r--r--dev/asm/doc.go2L
-rw-r--r--dev/asm/main.go152L
-rw-r--r--dev/dbconvert/main.go171L
-rw-r--r--dev/disasm/doc.go2L
-rw-r--r--dev/disasm/main.go28L
-rw-r--r--dev/gendata/doc.go2L
-rw-r--r--dev/gendata/main.go21L
-rw-r--r--dev/gettext/export/main.go231L
-rw-r--r--dev/gettext/import/main.go291L
-rw-r--r--dev/interactive/doc.go2L
-rw-r--r--dev/interactive/main.go64L
-rw-r--r--doc/Makefile4L
-rw-r--r--doc/build/builtin_005fflags.html24L
-rw-r--r--doc/build/cache.html143L
-rw-r--r--doc/build/cookbook.html241L
-rw-r--r--doc/build/dev.html522L
-rw-r--r--doc/build/dynamic_005ftemplates.html24L
-rw-r--r--doc/build/engine.html134L
-rw-r--r--doc/build/execution_005fcontext.html24L
-rw-r--r--doc/build/handling_005fmenus.html24L
-rw-r--r--doc/build/index.html267L
-rw-r--r--doc/build/instructions.html359L
-rw-r--r--doc/build/language.html63L
-rw-r--r--doc/build/lateral_005fnavigation.html24L
-rw-r--r--doc/build/load_005fhandler.html24L
-rw-r--r--doc/build/long_005fvalues.html24L
-rw-r--r--doc/build/map_005fsink.html24L
-rw-r--r--doc/build/multiple_005fmenus.html24L
-rw-r--r--doc/build/multiple_005fpages.html24L
-rw-r--r--doc/build/navigation.html155L
-rw-r--r--doc/build/node_005fnames.html24L
-rw-r--r--doc/build/node_005ftype.html24L
-rw-r--r--doc/build/nomenclature.html72L
-rw-r--r--doc/build/overview.html73L
-rw-r--r--doc/build/render.html333L
-rw-r--r--doc/build/render_005fmulti.html24L
-rw-r--r--doc/build/signals.html95L
-rw-r--r--doc/build/sim.html341L
-rw-r--r--doc/build/symbol_005ftype.html24L
-rw-r--r--doc/build/tools.html150L
-rw-r--r--doc/texinfo/cache.texi72L
-rw-r--r--doc/texinfo/cookbook.texi158L
-rw-r--r--doc/texinfo/dev.texi349L
-rw-r--r--doc/texinfo/exceptions.texi66L
-rw-r--r--doc/texinfo/index.texi37L
-rw-r--r--doc/texinfo/instructions.texi229L
-rw-r--r--doc/texinfo/language.texi16L
-rw-r--r--doc/texinfo/navigation.texi103L
-rw-r--r--doc/texinfo/nomenclature.texi19L
-rw-r--r--doc/texinfo/overview.texi25L
-rw-r--r--doc/texinfo/render.texi277L
-rw-r--r--doc/texinfo/signals.texi59L
-rw-r--r--doc/texinfo/sim.texi268L
-rw-r--r--doc/texinfo/tools.texi4L
-rw-r--r--draft.txt197L
-rw-r--r--engine/config.go32L
-rw-r--r--engine/db.go606L
-rw-r--r--engine/db_test.go404L
-rw-r--r--engine/debug.go55L
-rw-r--r--engine/doc.go2L
-rw-r--r--engine/engine.go20L
-rw-r--r--engine/engine_test.go549L
-rw-r--r--engine/log.go9L
-rw-r--r--engine/loop.go70L
-rw-r--r--engine/loop_test.go136L
-rw-r--r--engine/persist_test.go140L
-rw-r--r--examples/db/main.go150L
-rw-r--r--examples/first/Makefile10L
-rw-r--r--examples/first/foo1L
-rw-r--r--examples/first/foo.vis2L
-rw-r--r--examples/first/main.go188L
-rw-r--r--examples/first/root1L
-rw-r--r--examples/first/root.vis2L
-rw-r--r--examples/gdbm/Makefile11L
-rw-r--r--examples/gdbm/aiee.vis2L
-rw-r--r--examples/gdbm/main.go67L
-rw-r--r--examples/gdbm/menu1L
-rw-r--r--examples/gdbm/menu.vis5L
-rw-r--r--examples/gdbm/quit_menu1L
-rw-r--r--examples/gdbm/root1L
-rw-r--r--examples/gdbm/root.vis2L
-rw-r--r--examples/gdbm/root_nor1L
-rw-r--r--examples/helloworld/Makefile10L
-rw-r--r--examples/helloworld/doc.go2L
-rw-r--r--examples/helloworld/que.txt.orig1L
-rw-r--r--examples/helloworld/root1L
-rw-r--r--examples/helloworld/root.vis2L
-rw-r--r--examples/http/Makefile10L
-rw-r--r--examples/http/_catch1L
-rw-r--r--examples/http/_catch.vis2L
-rw-r--r--examples/http/end1L
-rw-r--r--examples/http/end.vis2L
-rw-r--r--examples/http/main.go208L
-rw-r--r--examples/http/root1L
-rw-r--r--examples/http/root.vis2L
-rw-r--r--examples/http/second2L
-rw-r--r--examples/http/second.vis5L
-rw-r--r--examples/http/third1L
-rw-r--r--examples/http/third.vis2L
-rw-r--r--examples/intro/Makefile10L
-rw-r--r--examples/intro/bar3L
-rw-r--r--examples/intro/bar.vis8L
-rw-r--r--examples/intro/foo2L
-rw-r--r--examples/intro/foo.vis3L
-rw-r--r--examples/intro/main.go105L
-rw-r--r--examples/intro/ouch2L
-rw-r--r--examples/intro/ouch.vis2L
-rw-r--r--examples/intro/root2L
-rw-r--r--examples/intro/root.vis9L
-rw-r--r--examples/languages/Makefile10L
-rw-r--r--examples/languages/first3L
-rw-r--r--examples/languages/first.vis8L
-rw-r--r--examples/languages/first_nor3L
-rw-r--r--examples/languages/locale/nor/default.po14L
-rw-r--r--examples/languages/main.go129L
-rw-r--r--examples/languages/quit.vis2L
-rw-r--r--examples/languages/root.vis3L
-rw-r--r--examples/languages/swap_menu1L
-rw-r--r--examples/languages/swap_menu_nor1L
-rw-r--r--examples/languages/swaplang.vis2L
-rw-r--r--examples/longmenu/Makefile10L
-rw-r--r--examples/longmenu/batch.vis11L
-rw-r--r--examples/longmenu/main.go46L
-rw-r--r--examples/longmenu/poke.vis1L
-rw-r--r--examples/longmenu/root1L
-rw-r--r--examples/longmenu/root.vis22L
-rw-r--r--examples/pincheck/Makefile10L
-rw-r--r--examples/pincheck/cancel.vis2L
-rw-r--r--examples/pincheck/check.vis2L
-rw-r--r--examples/pincheck/continue2L
-rw-r--r--examples/pincheck/continue.vis3L
-rw-r--r--examples/pincheck/main.go103L
-rw-r--r--examples/pincheck/root.vis1L
-rw-r--r--examples/pincheck/shut2L
-rw-r--r--examples/pincheck/shut.vis7L
-rw-r--r--examples/preprocessor/Makefile10L
-rw-r--r--examples/preprocessor/first1L
-rw-r--r--examples/preprocessor/first.vis3L
-rw-r--r--examples/preprocessor/last1L
-rw-r--r--examples/preprocessor/last.vis4L
-rw-r--r--examples/preprocessor/main.go103L
-rw-r--r--examples/preprocessor/mid2L
-rw-r--r--examples/preprocessor/mid.vis3L
-rw-r--r--examples/preprocessor/pp.csv3L
-rw-r--r--examples/preprocessor/root1L
-rw-r--r--examples/preprocessor/root.vis5L
-rw-r--r--examples/profile/Makefile10L
-rw-r--r--examples/profile/entry_email2L
-rw-r--r--examples/profile/entry_email.vis5L
-rw-r--r--examples/profile/entry_email_save.vis3L
-rw-r--r--examples/profile/entry_name2L
-rw-r--r--examples/profile/entry_name.vis5L
-rw-r--r--examples/profile/entry_name_save.vis3L
-rw-r--r--examples/profile/identified3L
-rw-r--r--examples/profile/identified.vis2L
-rw-r--r--examples/profile/main.go132L
-rw-r--r--examples/profile/myemail.txt.orig1L
-rw-r--r--examples/profile/myname.txt.orig1L
-rw-r--r--examples/profile/root1L
-rw-r--r--examples/profile/root.vis5L
-rw-r--r--examples/quit/Makefile10L
-rw-r--r--examples/quit/main.go47L
-rw-r--r--examples/quit/out1L
-rw-r--r--examples/quit/out.vis2L
-rw-r--r--examples/quit/root1L
-rw-r--r--examples/quit/root.vis2L
-rw-r--r--examples/reuse/Makefile10L
-rw-r--r--examples/reuse/bar.vis3L
-rw-r--r--examples/reuse/foo.vis3L
-rw-r--r--examples/reuse/main.go52L
-rw-r--r--examples/reuse/root1L
-rw-r--r--examples/reuse/root.vis6L
-rw-r--r--examples/session/Makefile10L
-rw-r--r--examples/session/data.txt.orig0B
-rw-r--r--examples/session/input2L
-rw-r--r--examples/session/input.vis4L
-rw-r--r--examples/session/main.go85L
-rw-r--r--examples/session/root.vis2L
-rw-r--r--examples/state/Makefile10L
-rw-r--r--examples/state/bar.vis2L
-rw-r--r--examples/state/baz.vis2L
-rw-r--r--examples/state/foo.vis2L
-rw-r--r--examples/state/main.go103L
-rw-r--r--examples/state/menu2L
-rw-r--r--examples/state/menu.vis11L
-rw-r--r--examples/state/quit1L
-rw-r--r--examples/state/quit.vis0B
-rw-r--r--examples/state/root.vis2L
-rw-r--r--examples/state_passive/Makefile10L
-rw-r--r--examples/state_passive/complete1L
-rw-r--r--examples/state_passive/complete.vis3L
-rw-r--r--examples/state_passive/main.go130L
-rw-r--r--examples/state_passive/root1L
-rw-r--r--examples/state_passive/root.vis3L
-rw-r--r--examples/static/8out1L
-rw-r--r--examples/static/Makefile10L
-rw-r--r--examples/static/main.go72L
-rw-r--r--examples/static/root.vis3L
-rw-r--r--examples/validate/Makefile10L
-rw-r--r--examples/validate/end2L
-rw-r--r--examples/validate/end.vis3L
-rw-r--r--examples/validate/main.go85L
-rw-r--r--examples/validate/root1L
-rw-r--r--examples/validate/root.vis6L
-rw-r--r--go.mod27L
-rw-r--r--go.sum52L
-rw-r--r--internal/resourcetest/util.go82L
-rw-r--r--internal/resourcetest/util_test.go54L
-rw-r--r--lang/doc.go2L
-rw-r--r--lang/lang.go55L
-rw-r--r--lang/lang_test.go20L
-rw-r--r--logging/debug.go8L
-rw-r--r--logging/default.go8L
-rw-r--r--logging/doc.go2L
-rw-r--r--logging/error.go8L
-rw-r--r--logging/info.go8L
-rw-r--r--logging/logging.go67L
-rw-r--r--logging/trace.go8L
-rw-r--r--logging/vanilla.go197L
-rw-r--r--logging/vanilla_test.go41L
-rw-r--r--logging/warn.go8L
-rw-r--r--persist/doc.go2L
-rw-r--r--persist/fs_test.go143L
-rw-r--r--persist/log.go9L
-rw-r--r--persist/persist.go134L
-rw-r--r--persist/persist_test.go182L
-rw-r--r--render/doc.go2L
-rw-r--r--render/log.go9L
-rw-r--r--render/menu.go304L
-rw-r--r--render/menu_test.go111L
-rw-r--r--render/page.go413L
-rw-r--r--render/page_test.go146L
-rw-r--r--render/size.go122L
-rw-r--r--render/size_test.go401L
-rw-r--r--render/split.go206L
-rw-r--r--render/split_test.go109L
-rw-r--r--resource/db.go161L
-rw-r--r--resource/db_test.go136L
-rw-r--r--resource/doc.go2L
-rw-r--r--resource/gettext.go72L
-rw-r--r--resource/gettext_test.go101L
-rw-r--r--resource/log.go9L
-rw-r--r--resource/resource.go150L
-rw-r--r--resource/resource_test.go119L
-rw-r--r--state/debug.go64L
-rw-r--r--state/debug_test.go53L
-rw-r--r--state/doc.go2L
-rw-r--r--state/flag.go42L
-rw-r--r--state/log.go9L
-rw-r--r--state/state.go429L
-rw-r--r--state/state_test.go511L
-rw-r--r--testdata/foo.vis7L
-rw-r--r--testdata/testdata.go103L
-rw-r--r--testdata/testdata_legacy.go238L
-rw-r--r--testdata/testlocale/eng/default.po9L
-rw-r--r--testdata/testlocale/eng/x-vise.po9L
-rw-r--r--testdata/testlocale/eng/x-vise_menu.po14L
-rw-r--r--testdata/testlocale/nor/default.po9L
-rw-r--r--testdata/testlocale/nor/menu.po9L
-rw-r--r--testdata/testlocale/nor/x-vise.po9L
-rw-r--r--testdata/testlocale/path.go11L
-rw-r--r--vm/debug.go267L
-rw-r--r--vm/debug_test.go175L
-rw-r--r--vm/doc.go2L
-rw-r--r--vm/input.go187L
-rw-r--r--vm/input_test.go178L
-rw-r--r--vm/log.go9L
-rw-r--r--vm/opcodes.go57L
-rw-r--r--vm/runner.go544L
-rw-r--r--vm/runner_test.go835L
-rw-r--r--vm/vm.go230L
-rw-r--r--vm/vm_test.go177L