Giter VIP home page Giter VIP logo

webit-script's Introduction

Webit Script

this is a new project, lot of things need to be done, stay tuned!

Webit Script is a template-like script and engine, all writen with Java.

It's grammar is very like Javascript, and with <% %> ${ } like in JSP

How to use(如何使用)

Grammar(语法)

Hello word

Hello ${"world"}

Structors

  • <% .code inside.. %> plain text outside
  • ${ .. expression .. }
  • escape \\ to \ , \<% to <%, \${ to ${
  • Node: 只有紧挨 <% ${\ 才需要转义 ,
  • 转义窍门: 偶数个 \ 会 打印 一半数量的\ 并进入代码段, 奇数 会 打印 (count-1)/2 个 \ 然后打印被转移的符号。

Commit in code

the same in Javascript

  • // line commit
  • /* */ block commit

Key Words

  • var
  • function
  • echo
  • native ....

Operators

  • ``

Requirements(依赖)

  • Jodd-core
  • Jodd-bean
  • Jodd-props
  • Jodd-petite

Contributing(贡献)

  • <谁来帮我翻译>

License(许可证)

Webit Script is released under the BSD License. See the bundled LICENSE file for details. Webit Script 依据 BSD许可证发布。详细请看捆绑的 LICENSE 文件。

webit-script's People

Contributors

zqq90 avatar

Watchers

joelli avatar James Cloos 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.