Saturday, 28 January 2017

A generic interpreter: part 3

The F# Journal just published an article:

"This article, the third and final part of our series about the generic interpreter, takes a look at solutions that use only concepts from functional programming. Although impracticably puritanical, the solutions convey some insight into the underlying problem that was not immediately apparent..."

If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Friday, 27 January 2017

A generic interpreter: part 2

The F# Journal just published an article:

"The previous article in this series demonstrated how a generic interpreter can be written in F# using both union types and objects. This article investigates the characteristics of the same program written in a fully object oriented style..."

If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Thursday, 26 January 2017

A generic interpreter: part 1

The F# Journal just published an article:

"Martin Odersky (the creator of the Scala programming language) was asked about the usefulness of object-oriented programming back in 2009 and responded with an interesting anecdote about a programming competition. The challenge is to write a generic interpreter that can be easily extended in different ways. This article is the first in a series taking a look at this generic interpreter and some of its many implementations in F#..."

If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Wednesday, 25 January 2017

Using the new Twitter API

The F# Journal just published an article:

"When F# was originally released there was a beautiful sample showing how easily Twitter could be accessed. Sadly this old example no longer works because Twitter changed their authentication method. This article looks at modern Twitter authentication and demonstrates programmatically downloading tweets in a small WPF application..."

If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Converting Word, HTML, PowerPoint and PDF documents to text

The F# Journal just published an article:

"The first challenge in Natural Language Processing (NLP) is usually converting available documents into text ready for processing. This article looks at functions that convert Word, HTML, PowerPoint and PDF documents into text using the Microsoft.Office.Interop.Word, HtmlAgilityPack, Spire.Presentation and iTextSharp Nuget packages, respectively..."

If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Tuesday, 24 January 2017

John Conway's Game of Life

The F# Journal just published an article:

"John Conway's Game of Life is a famous example of a simple cellular automaton that produces remarkably diverse results. The game can be implemented in only 32 lines of F# including real-time visualization using Windows Presentation Foundation (WPF)..."

If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Compiling regular expressions with Antimorov derivatives

The F# Journal just published an article:

"Regular expressions are a popular and powerful tool for string manipulation. In 1964, Brzozowski introduced the concept of derivatives to the study of regular expressions. Although academically interesting such derivatives were of little practice use until Antimorov introduced the concept of partial derivatives of regular expressions. This article demonstrates how partial derivatives can be used to compile regular expressions to deterministic finite automata (DFA)..."

If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Sunday, 22 January 2017

Scraping websites part 1: simple examples

The F# Journal just published an article:

"Gathering information from the internet by hand can be tedious. Many modern websites are database driven and that underlying database is often the thing of interest. This article is the first in a series looking at simple ways to extract data from websites in a more automated way. In this case we scrape two different websites, the first from a single page and the second from a sequence of pages..."

If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Scraping websites to make a torrent search tool

The F# Journal just published an article:

"Torrent search websites can be notoriously difficult to navigate and accidents can lead to malware. This article takes a look at the challenge of building a WPF application that scrapes a popular torrent site in order to download torrents more quickly and safely..."

If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!