mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-23 11:28:45 +08:00
✨ add import logic for use statement
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
# flightgear developer environments simulator (beta)
|
||||
# ValKmjolnir 2022
|
||||
import.std.runtime;
|
||||
use std.runtime;
|
||||
|
||||
println("-------------------------------------------------------------");
|
||||
println(" FlightGear simulated-env for developers project, since 2019");
|
||||
|
||||
+7
-7
@@ -1,13 +1,13 @@
|
||||
# lib.nas
|
||||
# 2019 ValKmjolnir
|
||||
|
||||
import.std.coroutine;
|
||||
import.std.math;
|
||||
import.std.string;
|
||||
import.std.io;
|
||||
import.std.os;
|
||||
import.std.bits;
|
||||
import.std.unix;
|
||||
use std.coroutine;
|
||||
use std.math;
|
||||
use std.string;
|
||||
use std.io;
|
||||
use std.os;
|
||||
use std.bits;
|
||||
use std.unix;
|
||||
|
||||
# print is used to print all things in nasal, try and see how it works.
|
||||
# this function uses std::cout to output logs.
|
||||
|
||||
Reference in New Issue
Block a user