Live data from Hacker News

Course using F#: Write your own tiny programming system(s)

d3s.mff.cuni.cz

21–29 of 29 posts

Re: Course using F#: Write your own tiny programming system(s)

#21
post #5

The videos were working earlier in the week...they're returning a 403 now. Repo with slides: https://github.com/jinyus/Fsharp-Teaching

Seems like someone needs to restart some server somewhere. I'll investigate. Videos should be back up soon :)

Fixed now!

Re: Course using F#: Write your own tiny programming system(s)

#24
Looks very cool!

I'd advise Cuni to host the course on something like EdX/Coursera/... to:

a) Increase the visibility of the university

b) Allow students to go through the course asynchronously

c) Provide certificates for completing the course and possibly recuperate some money off of that :)

Re: Course using F#: Write your own tiny programming system(s)

#26
I started down this path sometime last year with Crafting Interpreters and I’ve gotten obsessed with this entire world since. I wrote a little language [0] using Python Lex Yacc a couple of months ago because I wanted an awk-like way to quickly make graphs/charts from the CLI. Then I wrote a parser-as-a-type in TypeScript [1] for the same grammar.

My plan was to take a look at OCaml for future tinkerings with parsers, but man, F# is already looking very familiar between TypeScript and Lex/Yacc-like things.

Thanks for this post, I think I might have a new favorite language in the oven!

[0] https://github.com/williamcotton/dotfiles/blob/master/bin/pl...

[1] https://github.com/williamcotton/dotfiles/blob/master/bin/pl...

Re: Course using F#: Write your own tiny programming system(s)

#27
post #15

Speaking of F#, are there any tutorials/demos on how to set it up on Linux, to run WinForms, without runtime mismatch issues?

You should be able to use Avalonia UI[1] as an alternative GUI layer on Windows, Linux, macOS, iOS and Android. There is a beautiful functional MVU wrapper around it called Avalonia.FuncUI[2] with Avalonia.FuncUI.Elmish[3] which is an implementation of Elmish[4] (based of the Elm language[4]) for F#. [1]: https://avaloniaui.net/ [2]: https://github.com/fsprojects/Avalonia.FuncUI/ [3]: https://www.nuget.org/packages/A…

Also take a look at Fabulous[1]. The code with it looks nicer than Avalonia.FuncUI.

[1]https://github.com/fabulous-dev/Fabulous.Avalonia

Re: Course using F#: Write your own tiny programming system(s)

#28

I started down this path sometime last year with Crafting Interpreters and I’ve gotten obsessed with this entire world since. I wrote a little language [0] using Python Lex Yacc a couple of months ago because I wanted an awk-like way to quickly make graphs/charts from the CLI. Then I wrote a parser-as-a-type in TypeScript [1] for the same grammar. My plan was to take a look at OCaml for future tinkerings with parsers…

F# is a better TypeScript :)

Re: Course using F#: Write your own tiny programming system(s)

#29

I started down this path sometime last year with Crafting Interpreters and I’ve gotten obsessed with this entire world since. I wrote a little language [0] using Python Lex Yacc a couple of months ago because I wanted an awk-like way to quickly make graphs/charts from the CLI. Then I wrote a parser-as-a-type in TypeScript [1] for the same grammar. My plan was to take a look at OCaml for future tinkerings with parsers…

F# is a better TypeScript :)

What’s the best hard copy book on the language?
Post reply on HN