Skip to content

v3.0 - Embedded Runtime

Latest

Choose a tag to compare

@tishap27 tishap27 released this 22 May 23:17
· 3 commits to main since this release

AirLang is now available as a drop-in C library.

Previous versions were a standalone compiler you ran as a binary.
v3.0 packages the entire language into two files : AirLang.h and
AirLang_Runtime.c, that you copy into any C project and call directly.

What's new:

  • Direct math functions: AIR_GreatCircleNM, AIR_CalcWind, AIR_ParseMETAR
  • Cross-platform: builds on Windows (MSVC) and Linux (GCC)
  • No dependencies required, compile with -DAIRLANG_NO_CURL for offline use
  • Optional live METAR fetch from AviationWeather.gov with libcurl

Build:
gcc -Wall -DAIRLANG_NO_CURL AirLang_Demo.c AirLang_Runtime.c -lm -o demo

See embedded/ folder for AirLang.h, AirLang_Runtime.c, and AirLang_Demov1.c