Unlocked a new world of "scripting" with FreePascal.

```
#!/usr/bin/env instantfpc

program HelloScript;
uses sysutils;

var
i: Integer;

begin
if ParamCount = 0 then
begin
WriteLn('I''m a simple script. Give me args');
WriteLn('Current time: ', DateTimeToStr(Now))
end
else
for i:=1 to ParamCount do
WriteLn('param ', i, ': ', ParamStr(i));
```

You can just run this in your terminal.

That's so much fun.
https://wiki.freepascal.org/InstantFPC

#freepascal #scripting #instantfpc