Dummy
This is dummy program doing nothing.
Compilation
Easiest way to get dummy program running is to go to apps directory in package root, and run:
$ ./build.sh dummy
build.sh script compiles Ano script to C, copies source files in place and pops up instructions what to do next. Follow them. Check also examples/README for more info.
Preview
; ------------------------------------------------------------------------------
; dummy.ano
;
; To compile:
;
; $ ./build/ano ./apps/dummy/dummy.ano > \
; engine/dsl_ano.h
; ------------------------------------------------------------------------------
;
; @ANO_SCRIPT_NAME Dummy
; @ANO_SCRIPT_VERSION 0.0.3
; @ANO_SCRIPT_DESCRIPTION Dummy program doing nothing
; @ANO_SCRIPT_COPYRIGHT Jani Salonen <salojan@goto10.co>
;
; @ANO_FLAGS_USE_PROTOS [ ]
; @ANO_FLAGS_VAR_NAME_SUBS [x]
; @ANO_FLAGS_VAR_WARN_UNUSED [ ]
;
; Copyright © 2016-2026, Jani Salonen <salojan@goto10.co>
; All rights reserved.
;
main [exit: 0] {
print "This is dummy program doing nothing. " \
"See apps or examples directories how to\n" \
"compile real app or one of the examples.\n"
}
; ------------------------------------------------------------------------------ ; dummy.w2c ; ; To compile: ; ; $ ./build/widget ./apps/dummy/dummy.w2c > \ ; engine/widget_defs.h ; ------------------------------------------------------------------------------
; ------------------------------------------------------------------------------ ; dummy.m2c ; ; To compile: ; ; $ ./build/menu ./apps/dummy/dummy.m2c > \ ; engine/menu_defs.h ; ------------------------------------------------------------------------------
Copyright © 2026, Jani Salonen <salojan at goto10 piste co>. Piste is finnish word and means dot. All rights reserved.