Help us shape the future of Go! Take the 2026 Go Developer Survey

fipl-philip

command module
v0.0.0-...-dda4034 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

README

file Integerated Programming language or fipl/philip

a structured programming language for the grepless.
warning: it has a lot of bugs as well it is primary garbage in garbage out so you might not necessarily get an error if you're wrong(even then it might be terribly unheplful)

design

so have you ever been in a codebase and been like "wait where did they put this code?".
i have. its a dumb question. made by a dumb problem called over delegation(yes i just made this term up).
well philip doesnt solve this , it actually makes it more extreme, which is better hopefully.
philips main thing is that files are functions and functions are files, and maybe structs are files we'll see.
so you can see the structure of a codebase pretty well without having to look inside a single file(mutual recursion might look a little weird and you do still have to check the includes to see how things connect)

syntax

ifs like ada

if cond then
#  dothis
else
# dothat
end if

for is like ada syntactically and golang in meaning(still need to implement the i = 0; i<something; i++ thing)

for cond loop
#  dothis until cond is false
end loop

variables are declared starting with "the" they do not have type annotation

the a = 1

arrays like c and golang but dont have the ability to go across a line

the array = {1,2,3}

you can also do (optional) type annotation

# arrays defualt to len(1)
the array []int

arithmatic is evaluated from left to right perens up the queue so

#outputs 1
print(1+1/2)

function calls are normal

fx(1)

you would need to find fx

find "fx"

functions must have their stuff at the top of the file(white space is allowed )
args must have type annotation(weird i know)
filename:fx


(input int)
print(input)

returns are just types
filename:fy

(input int)(int)
return input

packages are dirs

#we find abs and negate
include "stdlib/math"

stuff from packages is called by name.function

print(math.negate(1))

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL