Giter Club home page Giter Club logo

xpl's Introduction

Introduction

XPL is an easy to embed and extend scripting programming language. It's implemented in a single C header file within only several hundreds lines of code; and runs almost as fast as strlen(). It contains only a few high frequently used features like: if-then-elseif-else-endif, yield, scripting interface invoking etc. Registering the scripting interface is as easy as writing a common array. The design principle of XPL is doing 80% of work with 20% of core code, doing left work with few extended scripting interface. It's aimed to be a thin and light weight scripting solution.

There's no build dependency, no heap allocation; just a single pass parsing + running.

Syntax Tutorials

'
  This is a short tutorial on XPL syntax shows you some basic usage.
  You could make your own dialects by extending it.
  After all, this is a comment between single quotes.
'
if you_like_xpl then
  try_use_xpl,
  leave_a_feedback "Your suggestions, my pleasure"
elseif you_do_not_like_xpl and you_have_some_time then
  try_read_xpl,
  leave_a_advice "To make it better"
else
  leave_a_idea "Anytime"
endif

License

XPL is distributed under DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE.

xpl's People

Contributors

paladin-t avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.