mdrwsh / box-lang

Box-lang is a dynamically-typed language that compiles to native Batch script.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

box-lang

Box-lang is a high-level programming language written in Batch Script that compiles to native Batch script. This language intends to help solving problems with Batch script like no specification of error and its hard syntax.

get started

This language only works on Windows as it use the native batch script that all Windows comes with.

print "hello, world."
loop i 5
  print i + i
end

write the code above inside a file such as hello.box, then compile with the compiler.

box -c hello.box

this generates out.bat and can be run with

out

which generates the output

hello, world.
2
4
6
8
10

About

Box-lang is a dynamically-typed language that compiles to native Batch script.


Languages

Language:Batchfile 100.0%