#RedditLang ( PHL )
1 messages · Page 3 of 1
depretecated though
wait vscode wants me to make the server in node
whyyyyyyyyy
i already wrote the fucking parser in rust
oh
how
i need to make a vscode extension to do it right
but i already have one
how do i integrate LSP to my current one
meow
?!
uwu
theres docs afaik
wait what
ill pay you 0.000001 ETH
i think can afford that
https://rph.lol/ right in the middle bar
Welcome to the r/ProgrammerHumor website! Come and check out our community channels!
if it will be there
No lol
đą
And while I made this so far, which honesty looks pretty shit
Oh it just hasn't been pushed to prod
oh cuz i just made it /s
@vocal osprey made this, which I think looks a lot better, he's currently shrinking some parts of it
ooh
Very good you are now a web developer
perfection
may I have a try?
Sure, you can try!
Yeah the uh coloring was something I hadn't thought through much
Oh me and assoverflow are currently just on call with the website
whatever im a web dev
Not calling the website, on call together and creating the projects page
Do you also want to call? I could make a gc if you want to contribute
when your website has more css than website
Ew gh light mode
ill contrib but cant call
everything else is dark mode
So gc?
sure
Fren
ye
Acronym for PHP:
PHP
Hates
Programmers
Acronym for PHL:
PHL
Hates
Likeability
acronym for PHD:
Professors
Have
Donuts
acronym for PHuD:
Professors
Have
unknown
Desires
acronym for IDK:
I
Dare
Kathy
acronym for IDC:
I
Devour
Cake
acronym for chromium (aka @hot verge ):
chromium
had
recited
one
massive
inconceivability
upon
mankind
wha
acronym for one (1):
omnipresent
nothingness
exemption
just guessing acronyms, sorry for the ping
do you have a word for me?
acronym for me:
my
existence
after database do acronym
acronym for database:
don't
ask
the
admin
because
all
storage
exists
what if i dropped my db rn
by accident
acronym for acronym:
a
crazy
romance
of
naming
your
mom
you would be smitten by the god of Don'tBother
acronym for lmao:
leaving
my
AC
on
acronym for AC:
Ash ketchum
Created a black hole
lmaooo
ok
im bad at thiss
but
acronym for ducksel
do
u
care who
kills
superman
even if
lier
ill do the numbers now
lol, I do not care
gtg, ill be back within the hour (you'll be back from hamilton starts playing)
PHP
PHP
PHP
PHP
no,
PHP
PHP
PHP
incorrect
it is a scrambled anagram
no no no no
What else then
How the fuck does that end up like PHL
PLPR
purple
Purple
P - Programmers
U - Utterly
R - Really
P - passively
L - Loves
E- Everything except PHP
@hot verge
You can at least use 4/6 words from this to describe your passive income course
Lmao
Make it recurse
PHP hates programmers
Recuse not reverse it
Programmer humor language
writing a note to self about how to implement loops
conditional break with a condition that is always true
for break statements
Yep, now recurse it further
Programmers hate programmers hate php
Programers hate programmers hate programmers hate php
Etc. Etc.
PHP hates programmers
PHP Hates PHP
update
this does not work
please do not waste time on it
acronym for PHL:
PHP
Having
Likeability
I don't think that your past self can hear you
it's a warning to the self in the other universe
3 days later...
PHP
PHP
Hates PHP
Paradox
whats pphp
perfectly painful hating programmers
is this at alpha stage yet, or is it still in meme status?
If it's about being functional, not yet
Simple things do work
@hot verge Idea, create some sort of list where you list todo features
Because a lot of features don't work currently
also
can you compile this into a binary?
i dont want to reinstall rust, as i dont like the language overall
average rust fan:
average nim enjoyer:
yeep
look at the code
ctrl+f for // TODO:
Huh
when the g
please compile this into a binary
?
random idea: elsent
this part of an if-ifelse-else block runs when any if or elseif statement is true.
In other words if else is not run, elsent is run.
Yep
It'd honestly be better to just transpile it into c++ or C
nim
nimrod
what
it can go to LLVM
and assembly
its amazing
ohh
L nerd doesnt want to install rust
and they trust me to send them an executable
@pallid ridge whats ur target triple
nim > rust
ive never compiled for another platform, so i have no fucking clue
what os do you use
and whats your arch
windows and x86_64
ok ill try
x86_64-pc-windows-gnu found it
@pallid ridge sorry i cant compile for windows
why not?
errors
alot of errors
so many I can't see them all in my terminal buffer
lol
Rust programmers are the biggest nerds wym
Nah, Rust is pretty high level for a low level language
Rust is noice
Except the into().into().into().unwrap().unwrap.unwrap() part
if you have option/result nested that deeply, you're using rust wrong
? should keep it flat
as should or_else & friends
use redditlang
yes
@rigid tapir on it
compile for aamogle
Breaking bad if walter white was a programmer
welcome to redditlang
is this project dead?
yes
no
yes
No
No
No
depends
is it possible to call rust code from phl
No, but I could add that
redditlang is viable
allllllllllso
im removing dynamic types
you must specify
i cant do dynamic types bc too hard
redditlang isn't jit either
i can ASSUME types
but not full dynamic
think of it like rust
functions and constants are thge only strictly typed things
redditlang is back
am working rn
need to add type syntax
- Lists:
X[] - Plain type
X - Generics
X<A, B, ...>orX(A, B, ...)
criticise me and it might make it into the language
lists are X[[ generics are X<a, b< or X{a, b{
:"thumb
T >> Array
meth some_array damn Number >> Array â [2,4,5,]
added array literal syntax
now i have to implement all this
aaaaaaaa
how the fuck do i data structure this
like this i guess
a
now error fix
when did i write this shit
because its fucking terrible
.unwrap in Option return?
does unwrap not trigger clippy or something
no like
shouldn't you basically never use unwrap
whats a valid usecase for unwrap
everywhere
?
why
unwrap is useful
unless you mean good error messages
i just match and use custom error! macros for that
why unwrap
poor
guys i published an update
( on dev branch )
its now REALLY fast
.7s to compile literally anything
u sure?
im gonna start making modules
steps: parse all mentioned files in a module pass, compile each of them, then link them together
then continue
He lied about it
How
File structure
main.rl r/main
something.rl r/something
a
/module.rl r/a
/file.rl r/a.file | r/file ( absolute, relative )
Imports
weneed r/{X}
bringme r/{X}
Module declarations
main.rl
subreddit r/something
subreddit r/joe
a/module.rl
subreddit r/file
this is the way modules will work
like rust
but subreddits
time for a syntax change
ok parsing is done
What is r/joe
joe mama
its huge
Like my mom
joe would be another module
You miss an opportunity
also this joke was completely unintentional
Wait
Never heard that before
She say it today it was the Opposite Day
Too late
Donât count nor work
What if the file names running are processes, and they are named by u/filename
Make the main file spez.rl
Make killing a process âfuck u/fileâ
Then to kill main process âfuck u/spezâ
Or the simpler one, just make âfuck u/spezâ exit
You should have done it before
Thé édit is a hérésie
what the fuck
files are files
You should be ashamed of your self I never edit message
processes are also files on linux
I assume my mistake to the end
but not in redditlang
i unmake mistakes
Mistake make you stronger look at your parents
After you were born they have attained the power
The strength
Okay then how about
How about cheese
also spez is a keyword @lyric vale
Unloading modules is âfuck u(or r)/filename
why unload
wait what does spez do
this isnt python
you right
return from fn
Wait
REDDITLANG 1.0.0 STABLE RELEASE IS OUT
GET IT QUICK
cargo install walter-redditlang
walter
No
No
I am now interested in why you are denying the truth
it is now available
and you are saying "No"
accept the future
amazing docs
why is this so cringe
It is made out of rust
A lot of rust
alot
it is not
Cringe is in the eye of the beholder
it thinks the RedditLang examples are in ragel
it is 100% rust
I would never
Good because I donât want to spend I life time trying to make you miserable
Not that is hard like I mean did you look at yourself
I would never lie about anything that involves rust
Just a few step and done
rust is the source of all truth
yes I did. I fucking wrote it all
No cheese is the source of all the truth
We say cheese of truth
Kekw
Yeah
I think i know that ref
Good
I've always never known how to pronounce this...
is it KEK Double U or kew
It was a vine thing, right?
I normally pronounce it as 'laugh'
or 'laugh sound'
twitch
Or 'juan joaa borja laugh'
No, I mean cheese of truth
People love sadness
I donât care and hell emac is not that good in the first place
- you're wrong and 2. you're wrong fine idc
Even after you correct it is wrong
Youâre
bro cares about an apostrophe
That why even when I am wrong I donât change my mind
Yeah is called being educated
yeah it's*
i edited my message cause i knew you'd be one of the people who corrects peoples grammar when they know they're wrong
I am not because I do a lot of errors but if you edit and it is wrong
Of course I am talking
You can see all my messages before never I correct one spelling
Only talking about cheese
It show that you jugée people very fast and think you are right just with little information
Anyway
average bootstrap user
church of emacs = church of satan
Even the op who is definitely not a friend of mine wink wink agree
modal editing is bad! using gmail is satanic! people make jokes about not being able to exit vim, people dont want to exit emacs!
im migrating to linux today
is it time for the programmers' annual os/distro migration already
Which one
well technically tomorrow but im getting the usb install and other setup stuff setup today
@hot verge you should implement this bullshit
i hate and love that
Manuel
ok so that's easy
after use compiler sets it to trademarked
( internally )
I free the variable
after the usage
and done
implemented
( for compile errors only )
@dawn inlet ok I will do it
You are an F'ing legend
I made RedditLang what do you expect me to be
an emacs user
reject modern society, embrace emacs
This was from a language concept I had called crust
reject emacs embrace normality
C + Rust, inheriting the shittines of both languages
which one has trademarks
oh wait
R*stâąïž
if your editor doesnt have an email client, its not worth using. also tetris go brrrrrrrrrrrrrrrrrrrr
why the fuck does emacs have Tetris
also I have thunderbird
but why use neovim when you can use evil mode if you care so much
I use all modes
i use default emacs keybinds with a few extra scripts
besides V* modes
normie doesn't config editor
laughs
i prefer modeless editing to modal editing
I have 30 nvim plug-ins
i have emacs god mode with a web browser
I used to say that but I like it now
basically i used to use vscode, wanted something more, tried vim, hated it, tried emacs, never go back
apart from for flutter/jvm dev
I used vscode ( i still do for web dev stuff ) then used neovim and loved it
fair enough
use what works for you
and i will too
A virgin
I'm too dumb for emacs
Neat OS, shame about the text editor
I know an Austria artist who did it but with a groupe of rich
Hey nice activity
@hot verge when will I get my aur package? :((((
I had 4k calories burned when I had a tennis game
What the
I had a tennis game that day
redditlang.js when
Yes
No
Fuck no
We cannot infect a high teir language with phl
Average redditlang dev
I hope you know thatâs what I did a while ago but havenât updated it
In a while
I know
But it has very invalid syntax
Many keywords that just donât fucking exist
Iâll update it eventually
he uses arch, btw
Yup btw
vanilla arch btw?
soon im migrating from windows to endeavour btw
Sadly not. I need the stability so I use Endeavour
đ„
it would of been yesterday but the usb stick didnt arrive
so sometime in the next week
Ouch
I have like 3 usb sticks, and I still wish I had more. You canât have enough.
Rip stick
and it didnt turn up
What do you mean,
3rd times the charm
it got lost or smth
Theyâll probably give your money back
Cya
i dont want my money back i want linux
Someoneâs dedicated I hear!
i try to install something
and i cant
rust doesnt work
zig doesnt work
everythings made for linux
@pallid ridge
Rust works
Extremely easily as well
You probably have issues with the windows build tools
You can switch rustup to use the GNU ABİ instead which works better in Windows for some reason
People happened
right
wouldnt say easily
i have got it setup
honestly dont really like rust tbh
BUT ZIG
if anyone can get zig working for me
they are a god
@pallid ridge
You install rustup with no dependencies
And you run 2 commands
It's easy af
ok maybe i suck
i tried
it keeps on giving me:
'zig_libc... error(mingw): clang exited with code 1 and stderr: error: unknown target triple 'x86-unknown-windows-gnu', please use -triple or -arch
Semantic Analysis [844] error(mingw): clang exited with code 1 and stderr: error: unknown target triple 'x86-unknown-windows-gnu', please use -triple or -arch
error: unable to generate DLL import .lib file for ntdll: ClangPreprocessorFailed'
redditlang happened
d... l... l...
windows user ew
imagine using windows
...
the usb should me arriving today
i am installing endeavour now
rn im dualbooting
i have linux
but i will slowly migrate wholly to linux
Do you gale on that pc
I use kali
oh
But always delete the French language
anyone use an arch based distro?
Sure, here are some popular packages for Arch Linux:
base-devel: Development tools and librariesgit: Version control systemvim: Text editorfirefox: Web browsergcc: GNU Compiler Collectionpython: Python programming languagedocker: Containerization platformneofetch: System information toolhtop: Interactive process viewergnome-terminal: Terminal emulator
Let me know if you need more recommendations!
is that chat gpt
bruh vim, firefox, gcc are all preinstalled and i no that for a fact
that is on endeavour tho
but vim and gcc i feel like are prob installed on vanilla arch
nvm not vim vi is installed
gnome-terminal đ
also why do you need neofetch
bloat
how else can i do neofetch --ascii_distro arch --os "Arch Linux"
and say i use arch /j
you dont
i was joking btw
neofetch is 20 mb
put --os "Arch Linux"
also heres al of my sys info
:o
doesnt work
gtg, im installing a browser on endeavouros
i figured out a way around it
make sure to alias neofetch -ascii_distro arch to neofetch
alias neofetch="env distro='Arch Linux x86_64' neofetch --ascii_distro arch"
cya in like 30m
I asked Clyde
real
i cant see btw
didnt pipe to cliscord -1
wdym
scrot | cliscord
my entire os is really zoomed out for some reason
do you know how to zoom in?
skill issue
enhance
say that and it should work
you might also need some zooming hand motions
i cant do the pinch zoom hand motion without looking stupid
i mean
more than usual
Ew use alacritty
dont be shy man use your entire screen to view the files
^^^^^^^^^^^^^^^
this is my entire screen
Zoom out then
r/unixporn
i swear
what is your config
what desktop do you use
i need to know
and i use gnome
@pallid ridge
just updated it actually
yay
Wait a minute, isn't that what I was kinda looking for when we were debating over neovim over vscode?
I canât explain this but
It feel wrong and right in the same time
I don't remember that but yes
it's right
@hollow salmon fixed the issue you put on gh
I forgot to add the file...
Assuming he's still working on it
also, we need lambda expressions
what thew fuck is a monad
and what is haskell
mentally
lambdeez nuts
i myself dont know
A structure that can reasonably be flattened
matrix?
No much more generally
Lists for example
[[1,2]] can be flattened to [1,2]
why is there a 45 page document on them
Some(Some(5)) can be flattened to Some(5)
oh
It's mostly listing the stdlib monads
so in general X(X(X(..)..)..) can be flattened to X(..)
Yes
I see
Some(Nothing) -> Nothing
also, we should create interfaces (get defined with telmplate)
tempalte
tempalte++
AbsractPureVirtualFunctionTemplateClassInterfaceConstructorNameInterfaceFactory tmeplyae [
(defs goes here)
]
everyone loves representing html in a functional way
but what if you represented it in an oop way
<HTMLLang><Headers><Levels><One>Iâm H1</One></Levels></Headers></HTMLLang>
class Template() {
func h1(content: string) {
return f"<h1>$content</h1>"
}
}
html = new Template()
console.log(html.h1("Hello World"))
thats functional though
fair enough
tryna figure out
maybe make elements classes?
that take classes as parameters>
?
make foo a reserved keyword as well, idk what for
foo should be automatically substituted with the previously used variable name
$$$$$$$$$$$$$$$foo
15 $
so like if you hadphl meth hello â 2then a phl foo â 3immediately after would be equivalent to phl hello â 3
I think that would be right unless foo is treated like a value of the last variable rather than an identifier for it.
A20 line gate
lol
this is dead
Hi, Nice to meet you.
add that shid
No
this is dead?
nmaybe
a20 line gate
Boolean for False should have been nuhuh
print "sux" when program starts
throws bluescreen when you type --show-error without "please" because you were rude to it
just make any symbol at the start of a line make it into a comment
how about in order but from right to left
wait how late am i on this again?
5 months for that particular bit but that's okay
you have a worse idea to apply to a bad idea and that's what this thread is for
honestly, I don't even know what operator precidence exists in the language right now
with all that said, I agree with your ordering
i honestly have no idea what 80% of yall are saying, im just throwing in some creative ideas on the stuff that i do understand xd
I agree with your ordering
about this, i wonder how exactly substraction and division would work. specifically, how the most cursed way would look like
pluh doesnt understand pemdas
ok
@hot verge how is this going?
As good as it was 4 months ago
i think print "skill issue" whenever the program fails to compile
@hot verge we need this
And we need this now.
A20 line gate
nerd
Every function has a 1% margined of error
As in,
If it returns a bool, 1% chance of returning the opposite of the intended output
If it returns an int, 1% chance of the output changing by 1% xor -1%
If it returns a string, on average 1% of the characters will be different
Ect
lmao
why 1% chance for ints
Letâs make it 1/6 of a chance - Russian roulette
why not 100% chance?
Hmmmm
I mean itâs way more fun if thereâs a chance
Not if itâs 100%
Gambling is funny yk
yes
but 1% chance of 1% error is not 1% margin of error
it'd be more like 0.01%
on average
which is no fun
What is more fun: Knowing the outcome or playing Russian roulette?
âHowever, we placed our trust in the Reddit teamâs deep understanding of their user base, as they carefully considered each of our recommended moves in relation to their communities.â
hehehe
21
22
443
80
73
take
hey uhh shouldn't it becall damn String pulloutnt()?
is the phl ded?
