OILS / yaks / yaks_main_preamble.h View on Github | oils.pub

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