- Notifications
You must be signed in to change notification settings - Fork3
Van programming language. Embeddable and extendable script language in C. Simple and efficient.Inspired by C, Simula and JavaScript
License
liufeigit/Van-lang
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Embeddable and extend script language in C.
Afunctional-programming andobject-oriented-programming script language.
A simple and efficient script language.
Van
is a script language, implement in ANSI C.
Van
as a script language, it can be used as glue to decoupling complex business logic.
Van
language features include A concise type system,Object-oriented,Function Closure,Coroutine,etc.
Van
language design purpose is to facilitate embedding and extend, to facilitate interaction with C, and to decouple complex business.
Currently in the state of development and testing,documentation and functionality are still being refined and the release version will be released in the near future.
If you are interested, you can now test and use,submit suggestions and bugs.
usage
$cd Van$ chmod +x ./build.sh $ ./build.sh
now genratevan
andlibvan.so
file.
you can usevan
interpreter.van
file invanTest
directory, for example
$ ./van ./vanTest/van_assign.van$ ./van ./vanTest/van_class.van$ ./van ./vanTest/van_exp.van$ ./van ./vanTest/van_function.van$ ./van ./vanTest/van_if.van...
you can uselibvan.so
write language extend, if you interpretervan_extend.van
,for example
$ clang -g -fPIC -shared -L. -lvan ./External/extendTest1.c -o ./External/libextendTest1.so$ clang -g -fPIC -shared -L. -lvan ./External/extendTest2.c -o ./External/libextendTest2.so
now you can use extendsub
andsub2
in.van
file
I look forward to your participation inVan
language design and development.
____ ____ ___ .__ __. \ \ / / / \ | \ | | \ \/ / / ^ \ | \| | \ / / /_\ \ | . ` | \ / / _____ \ | |\ | \__/ /__/ \__\ |__| \__| Welcome to join Van project
If you have good ideas and suggestions,contact me , welcome to improve and transformVan
language.
- Open an issue:
- if you need help
- if you find a bug
- if you have a feature request
- to ask a general question
- Submit a pull request:
- if you want to contribute
Van
project is available MIT License.