Introduction
It's a script language. I made it for quick developing.
It's in developing stage.
Features
Weak typing, interpreted script language.
Easy rules.
Bridge other languages library.
The last user have power to change the library's behavior.
Noprivatekeyword, field and variable are public.
Editor And Doc
Editor
Use Atom as editor.
langX-atom plugin, it's used for syntax highlighting, and it works in progress. And it do not support auto-complete.
Document
Simple code example
Screenshot
https://github.com/Aincvy/langX-atom#screenshot
Directory
3rd
Simple notepad++ config files.
cmake
cmake
search files. (*.cmake)
docs
Document. (English and Chinese.)
extern
Lex and yacc files.
Lex and yacc generated files.
include
Headers.
source
Sources.
lib
Extra libraries files.
This will be deleted.
mod
Nothing
modProjects
langX mods
core/mysql/python-bridge/redis/...
rtlib
Runtime library. (WIP)
May all write by langX.
scripts
Test scripts.
Example scripts.
notImplementation
Just ideas.
Compile and install
Please read section
Dependent
first.Install
flex
,bison
,log4cpp
.Mac
brew install flex
brew install bison
brew install log4cpp
Debian
Todo.
Centos
yum install flex-devel bison-devel
Download and compile log4cpp.
Install
cmake
.Now, the simplest program is installed, you can use
langX --version
to test it.You can try to compile mods now.
Dependent
simple runable program
flex
yacc(bison)
log4cpp
lib core
Nothing
lib mysql
mysql-devel (mysql-connector-c)
lib python
python-devel
lib redis
hiredis
lib zip
zlib
lib json
cjson
Others
PR and Issue is welcome!
Last updated
Was this helpful?