Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deviousasti/fsharp-worksheet
A spreadsheet-like interactive evaluator for F#
https://github.com/deviousasti/fsharp-worksheet
fsharp generalisation repl worksheet
Last synced: about 2 months ago
JSON representation
A spreadsheet-like interactive evaluator for F#
- Host: GitHub
- URL: https://github.com/deviousasti/fsharp-worksheet
- Owner: deviousasti
- Created: 2020-07-30T14:12:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-20T12:47:30.000Z (about 3 years ago)
- Last Synced: 2024-10-13T07:05:57.400Z (2 months ago)
- Topics: fsharp, generalisation, repl, worksheet
- Language: F#
- Homepage: https://asti.dynz.net/post/fsharp-worksheet/
- Size: 158 KB
- Stars: 50
- Watchers: 14
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# F# Worksheet
This is a tool for interacting with F# code like a spreadsheet.
Your code is divided into *cells*, and when a cell is changed it's dependents are updated.
No special coding conventions or additional libraries are required.The central idea is that the nature of functional programs should allow them to be modeled as an acyclic graph - acyclic because forward references are not possible.
## Usage
To install as a `dotnet` global tool, simply clone this repository and run `install.ps1`
To run pass the name of a script file to the application.
```
fsw program.fsx
```To exit the application hit `return`.
## Demo
![fswatch2](https://user-images.githubusercontent.com/2375486/88964607-43709d00-d2c7-11ea-8f38-7d77e09e0d55.gif)
In this example, I change the definition of `toList` , you can see `toList tree` is evaluated. When I change the definition of `tree` , all the functions which use `tree` are evaluated.