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

22 lines, 17 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/frontend/syntax.asdl.h"
11#include "_gen/yaks/yaks.asdl.h"
12#include "cpp/data_lang.h"
13#include "cpp/frontend_match.h"
14#include "cpp/stdlib.h" // needed for math::{isnan,isinf}
15#include "mycpp/runtime.h" // runtime library e.g. with Python data structures
16
17// TODO: Why do we need these?
18using pretty_asdl::doc;
19using syntax_asdl::command;
20using syntax_asdl::expr;
21using value_asdl::value;
22using yaks_asdl::mod_def;