Fun 0.41.5
The programming language that makes You have fun
Loading...
Searching...
No Matches
fun_version.c
Go to the documentation of this file.
1/*
2 * This file is part of the Fun programming language.
3 * https://fun-lang.xyz/
4 *
5 * Copyright 2025 Johannes Findeisen <you@hanez.org>
6 * Licensed under the terms of the Apache-2.0 license.
7 * https://opensource.org/license/apache-2-0
8 */
9
17
18// Pushes the current Fun version string onto the stack.
19
21#ifndef FUN_VERSION
22#define FUN_VERSION "0.0.0-dev"
23#endif
24 push_value(vm, make_string(FUN_VERSION));
25 break;
26}
@ OP_FUN_VERSION
Definition bytecode.h:148
#define FUN_VERSION
Definition fun.c:32
case make_string(FUN_VERSION))