To borrow your video game analogy. F* is the dwarf fortress of programming languages. Screenshots are only going to confuse anyone who isn't ready to take a significant mental journey.
This is needless fearmongering. F* looks a lot like F# code with semantics you should be familiar with if you've worked with other proof oriented languages. The website design is dated is all. The book gives exactly what the OP wants in the introductory chapter.
I'm the opposite: when landing in a programming language site I want to know the user case the authors had in mind, the memory model, the type system, the compilation targets, the data layout, the control structures, and only at the end just check that the syntax is not indentation based.
and click on the image below the text "You probably want to read it while trying out examples and exercises in your browser by clicking the image below.".
In the section of (1) also the PDF version is linked:
Clicked like 5 pages and never found 1 code example.
Idk why languages don't have their syntax in a sandbox front-and-center on the home page.
It's like a video game site with zero screenshots or videos (also rampant).
New programming languages I want 2 things:
1. What does the syntax look like
2. Why would I use this language
Talk about the proof logic, show the syntax, thank you
To borrow your video game analogy. F* is the dwarf fortress of programming languages. Screenshots are only going to confuse anyone who isn't ready to take a significant mental journey.
This is needless fearmongering. F* looks a lot like F# code with semantics you should be familiar with if you've worked with other proof oriented languages. The website design is dated is all. The book gives exactly what the OP wants in the introductory chapter.
I'm the opposite: when landing in a programming language site I want to know the user case the authors had in mind, the memory model, the type system, the compilation targets, the data layout, the control structures, and only at the end just check that the syntax is not indentation based.
So I'm very seriously considering making my language indentation based. You're saying you wouldn't like that?
11 replies →
Use case. Not “user case”.
> Clicked like 5 pages and never found 1 code example.
But I clicked one (1) link to the online book and found a thousand?
Should be on the home page of any programming language site.
2 replies →
https://fstar-lang.org/tutorial/
I guess it's a bit popular right now
> https://fstar-lang.org/tutorial/
FYI: The link to this tutorial is unluckily a little bit obscured on the F* website: Go to
> https://fstar-lang.org/index.html#learn (1)
and click on the image below the text "You probably want to read it while trying out examples and exercises in your browser by clicking the image below.".
In the section of (1) also the PDF version is linked:
> https://fstar-lang.org/tutorial/proof-oriented-programming-i...
5 replies →
just click the screenshot
Takes you to an empty editor with still no code examples
That’s because syntax is the least interesting part of F*.
Then why are we all so interested?
Examples provide more than syntax. It's the semantics that we care about most.
2 replies →
Thank you ! I just had the absolute same experience and was about to write a similar comment - take my upvote instead !
I clicked on 2 links on the main page in the Learn F* section...
What? There’s literally a completely interactive book linked right from the home page.
https://fstar-lang.org/tutorial/
I like Haskell, and to me this seems really useful as a kind of "noob" to functional languages.
Is this used in the industry ? And for what kind of software ?
I found these links in the F* book
https://www.microsoft.com/en-us/research/blog/everparse-hard...
https://lwn.net/Articles/770750/
https://project-everest.github.io/
I liked being able to express calling external libraries while incrementally migrating existing C codebases to F*. Very solid language.
What do you mean "express calling"? You mean calling the former C versions of the functions not yet ported, while asserting their behavior?
I guess responsive stylesheets can't be implemented without side effects...
Would this language be useful for implementing compilers and formally proving things about them?
yes thats the main reason, agda , coq similar ideas
F* seems to be a collection of like five different languages and proof systems. Honestly I never figured it out.
Does it get basic stuff like subtraction and u8 right, unlike Lean?
[dead]
[dead]
[flagged]
[flagged]
> > F* (pronounced F star)
> No, it isn't.
https://fstar-lang.org/ claims otherwise:
"F* (pronounced F star)".