[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/g tries to create their own programming language >shitpost('hello

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 32
Thread images: 5

File: 1485423339345.jpg (94KB, 1024x952px) Image search: [Google]
1485423339345.jpg
94KB, 1024x952px
/g tries to create their own programming language

>shitpost('hello world')
>>
File: 1478114657081.png (299KB, 680x598px) Image search: [Google]
1478114657081.png
299KB, 680x598px
>tfw too intelligent to write a compiler
>>
>>58661595
create Language scriptbabbiesFirstJava
>>
>>58661595
:= means "defined as"
= means "is equal to"
// means "divided by"
Obviously everything is immutable and stateless.
Unicode is allowed, and you can only use a notebook (similar to Mathematica's notebook) to write the code in.
Functions apply objects from left to right (x)F.
Definition of functions is done through mappings like Haskell, F: Nat -> Com
Lazy evaluation so we can deal with "infinite" data
Haskell's list comprehensions.
The code ought to look like mathematics.
>>
Stroustrup visited me in my dream last night. I woke up feeling a suffocating C++ anxiety.
>>
>>58661779
Пидop.
>>
File: 1485402911566.jpg (51KB, 399x582px) Image search: [Google]
1485402911566.jpg
51KB, 399x582px
>>58661688
>>
>>58661805
Ivan pojaluysta pokin' etot board, ti p'aniy
>>
File: 1ab.png (229KB, 326x381px) Image search: [Google]
1ab.png
229KB, 326x381px
>>58661688
>Functions apply objects from left to right (x)F
>>
>>58661841
Ya iz ukraini. I ne p'yu alkogol voobshe. Ne spal sutki i ne mogu usnoot'. Unylo.
>>
>>58661805
Complicated oneiric metadiscussions about C++ don't correlate with "pidor" in my neck of the woods, Boris.
>>
List<kuck> shiiiiet = new List<kuck>(){

}
>>
>>58661845
"If ϕ: X -->Y is a map from a set X to a set Y and a a is in X, we write: aϕ and not ϕ(a) for the result of applying the map ϕ to the element a to obtain the element aϕ in Y. This mirrors the actual procedure: first we pick an element a in X, then we apply ϕ to a to obtain aϕ in Y"
>>
>>58661688
You're trying so hard to create a new language for /g/ but at the end of the Haskell is already everything that /g/ would put in a programming language.
>>
>>58661688

3/10
would not program with


>>58661595

current_thread.posts.op.reply_with "Here's your <you>.."
>>
>>58662120
Give me your best Haskell pitch.
>>
>>58662120
Haskell's good but I'd like something that mathematicians could look at and instantly understand (if they knew the notation).
>>
>>58662233
This. A programming language that interpreted latex like functions to actual programs. In other word programing with a latex editor. Or maybe a powerful programing language that can be written in something like an advanced spread sheet. Why do all programing languages just interpret plain text as opposed to text + formating like we naturally interpreted math is evaluated. Of course the down side is that you couldn't use a plain old text editor.
>>
>>58664218
I don't understand what you mean. Math is just plain text.
>>
>>58661688
1/10 even Hasklel is better
>>
>>58665902
>Math is just plain text.
>>
>>58666023
Still no idea what you're talking about.

Name one math equation that I can't just whip out a sheet of paper and write down with a pencil. I don't have to use any special program to do it that does formatting for me
>>
>>58662120

>no reader macros
>no built in answer-set/constraint programming
>auto differentiation not built in
>>
>>58661595
Needs more botnet meme placebo
>>
>>58666040
>Still no idea what you're talking about.
I'm not even pre-poster, desu, senpai.
> I don't have to use any special program to do it that does formatting for me
riiiiiight, now do a 5 row accolade. Of course, without using shitty ASCII /|\ replacement. Or a squareroot or a epsilon with k = 4.
>>
>>58662097
Honest question.
Did some mathematician define all that shit just to make a phi-do <-> Fido joke?
>>
>>58661595
Dynamic typed, wild coercions, chaotic as fuck.
Basically Perl6 but with more chaos.
Call it Bismuth and libraries are called Edges.
>>
>>58661688
the application scheme is kinda interesting
>>
>>58661595
thread t;
t='http://boards.4chan.org/g/thread/58661595';
t.shitpost('>hello world');
>>
>>58661919
>oop
>>
>tfw too intelligent to write anything in any programming language that resembles anything useful.
>>
>>58664218
Because when a program is compiled, formatting ala whitespace is mostly ignored.
Thread posts: 32
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.