Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Van programming language. Embeddable and extendable script language in C. Simple and efficient.Inspired by C, Simula and JavaScript

License

NotificationsYou must be signed in to change notification settings

liufeigit/Van-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embeddable and extend script language in C.

Afunctional-programming andobject-oriented-programming script language.

A simple and efficient script language.

Overview


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.

Notice

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.

Test Use

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

Welcome to join

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.

Contributing

License


Van project is available MIT License.

About

Van programming language. Embeddable and extendable script language in C. Simple and efficient.Inspired by C, Simula and JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp