2023-09-20 11:31:35 +00:00
|
|
|
#ifndef fk_TYPES_HPP
|
|
|
|
#define fk_TYPES_HPP
|
|
|
|
|
|
|
|
#include "commons.hpp"
|
|
|
|
|
2023-09-20 15:17:13 +00:00
|
|
|
#define TYPES(G) G(TYPE_INT), G(TYPE_FLOAT), G(TYPE_BOOL), G(TYPE_STRING), \
|
2023-09-23 22:40:08 +00:00
|
|
|
G(TYPE_REF), G(TYPE_PROGRAM), G(TYPE_ARRAY), G(TYPE_NIL), \
|
|
|
|
G(TYPE_FUNCTION)
|
2023-09-20 11:31:35 +00:00
|
|
|
|
|
|
|
namespace fk
|
|
|
|
{
|
|
|
|
FK_ENUM(Type, TYPES);
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|