A minimalistic programming language written in C89.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

22 行
578 B

cmake_minimum_required(VERSION 3.27)
project(ink C)
set(CMAKE_C_STANDARD 90)
add_library(ink lib.c ink.h)
# Uncomment to disable the redundant arithmetic
# add_definitions(-DNOEXTRAARITHMETIC)
# Uncomment to disable array types
# add_definitions(-DNOARRAYLIB)
# Ensures the interpreter doesn't use the standard C library functions
# add_definitions(-DNOSTDLIB)
add_executable(ink_exe main.c)
target_link_libraries(ink_exe PUBLIC ink)
# Benchmark is broken since the addition to coroutines
# add_executable(ink_bench bench.c)
# target_link_libraries(ink_bench PUBLIC ink)