GithubHelp home page GithubHelp logo

suve / awful Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 3.47 MB

Ugly script language

License: Other

Pascal 95.18% Makefile 0.33% Roff 0.53% SourcePawn 0.71% C++ 3.13% Pawn 0.13%
scripting-language interpreter interpreted-programming-language

awful's Introduction

awful

An ugly, general purpose script language, with an interpreter written in Object Pascal. Licensed under zlib with acknowledgement (see LICENSE.txt).

Gute Gott, warum?

Because I was bored and needed something to occupy my brain with. Also, because it seemed a nice challenge, and because it eventually proved very fun.

I tried to clean up the source somewhat before making the project open to see, but since I didn't make it all in time, some parts of the code may be really hard to read (shoutout to the spaghetti-like parser). Well, hopefully all will get cleaned up with time.

Documentation

All available documentation is currently hosted on my homepage wiki.

Building

To compile, you are going to need Free Pascal Compiler 2.6.2 or newer. awful does not use any additional libraries and should successfully compile using just what's bundled with the compiler.

To build, just run make. I add make clean there because the code uses quite a lot of conditional compiling based on whether making a normal/cgi release, and FPC does not really recognize a file needs to be recompiled because the compile-time symbols have changed.

cd awful
make
make clean
make cgi

Running

If scriptname is ommitted (or -- is used), script file is read from stdin.

awful [-e errfile] [-o outfile] [-i infile] scriptfile [param] [...]

-e (-E)   File to redirect stderr to. File is overwritten (appended to).
-o (-O)   File to redirect stdout to. File is overwritten (appended to).
-i        File to use instead of stdin.

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.