Code Monkey home page Code Monkey logo

badscript2's Introduction

build

BadScript2 Landing Page

Bad Script is an Interpreted Scripting Language written in pure C#. It has a similar syntax to javascript and written to be easily extensible.

This Repository contains a complete rewrite of BadScript

Preparations for the public branch

At this point in time, there is a single dependency that is not available from the public nuget.org repository. To be able to restore the solution, the project BadScript2.IO.OpenKM needs to be unloaded.

Install + Hello World

Follow these steps to get started.

Installing

Currently it is only possible to build the project from source. Binaries will be available on the first release.

Building from Source

Tested on:

  • Windows 10 64-bit
  • Debian 11 (Bullseye)

Requirements:

  • git
  • net6.0 SDK
  • Powershell 7.0 or greater
  1. Open a Powershell Session
    • On Windows: powershell
    • On Linux: pwsh
  2. Clone this Repository
  3. Change Directory to ./BadScript2
  4. Run ./build.ps1

use build.ps1 -config Release to build with optimizations.

use build.ps1 -writeLog to get debug logs

build.ps1 compiles the language project and builds all common libraries for the runtime. The Compiled output will be generated in ./build.

Hello World

Create a file helloworld.bs with the following content:

Console.WriteLine("Hello World!");

Run the script with the command

bs run -f helloworld.bs

Output:

Hello World!

More Information


Links

Home

Getting Started

badscript2's People

Contributors

bytechkr avatar ewu-sra avatar

Stargazers

 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.