Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/awfulPublic

Ugly script language

License

NotificationsYou must be signed in to change notification settings

suve/awful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 myhomepage 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 addmake clean there because the code uses quite a lot of conditional compiling based onwhether making a normal/cgi release, and FPC does not really recognize a file needs to be recompiled becausethe compile-time symbols have changed.

cd awfulmakemake cleanmake 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.

[8]ページ先頭

©2009-2025 Movatter.jp