OILS / yaks / preamble.h View on Github | oilshell.org

19 lines, 14 significant
1// yaks/preamble.h: declarations to run translated yaks_main.py
2
3#include <errno.h>
4
5#include "_gen/core/value.asdl.h" // could break this dep from j8?
6#include "_gen/data_lang/nil8.asdl.h"
7#include "_gen/display/pretty.asdl.h"
8#include "_gen/frontend/consts.h"
9#include "_gen/frontend/id_kind.asdl.h" // syntax.asdl depends on this
10#include "_gen/yaks/yaks.asdl.h"
11#include "cpp/data_lang.h"
12#include "cpp/frontend_match.h"
13#include "cpp/stdlib.h" // needed for math::{isnan,isinf}
14#include "mycpp/runtime.h" // runtime library e.g. with Python data structures
15
16// TODO: Why do we need these?
17using pretty_asdl::doc;
18using value_asdl::value;
19using yaks_asdl::mod_def;