Added basic local includes relative to $PWD and includes for files located at /usr/lib/fun.
This commit is contained in:
parent
d25c4b616d
commit
5b7b063086
8 changed files with 356 additions and 6 deletions
17
lib/hello.fun
Normal file
17
lib/hello.fun
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://hanez.org/project/fun/
|
||||
*
|
||||
* Copyright 2025 Johannes Findeisen <you@hanez.org>
|
||||
* Licensed under the terms of the ISC license.
|
||||
* https://opensource.org/license/isc-license-txt
|
||||
*/
|
||||
|
||||
/*
|
||||
* A tiny system library module installed to /usr/lib/fun
|
||||
* Usage (after installation):
|
||||
* #include <hello.fun>
|
||||
*/
|
||||
|
||||
fun hello_lib()
|
||||
print("Hello from system lib!")
|
||||
Loading…
Add table
Add a link
Reference in a new issue