2019-07-25 02:14:33 +08:00
|
|
|
# Nasal-Interpreter
|
|
|
|
|
|
|
|
# Nasal
|
|
|
|
|
|
|
|
Nasal is a script language that used in FlightGear.
|
|
|
|
|
|
|
|
There is a Nasal console in FlightGear but sometimes it is not so easy for every developer to use.
|
|
|
|
|
|
|
|
So this is an interpreter for Nasal written by C++.
|
2019-07-25 02:17:35 +08:00
|
|
|
|
|
|
|
The interpreter is still in development.Anyone who interested in this could also join us!
|
2019-07-28 00:06:29 +08:00
|
|
|
|
|
|
|
# Now complete all types
|
|
|
|
|
|
|
|
var: int float double std::string char long long int
|
|
|
|
|
|
|
|
NasalList: array in nasal []
|
|
|
|
|
|
|
|
append
|
|
|
|
|
|
|
|
setsize
|
|
|
|
|
|
|
|
subvec
|
|
|
|
|
|
|
|
pop
|
|
|
|
|
|
|
|
sort
|
|
|
|
|
|
|
|
NasalHash: Hash in nasal {}
|
|
|
|
|
|
|
|
append
|
|
|
|
|
|
|
|
delete
|
|
|
|
|
|
|
|
contains
|
|
|
|
|
|
|
|
keys
|
|
|
|
|
|
|
|
|