Serehfa 0.2.7

dotnet add package Serehfa --version 0.2.7                
NuGet\Install-Package Serehfa -Version 0.2.7                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Serehfa" Version="0.2.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serehfa --version 0.2.7                
#r "nuget: Serehfa, 0.2.7"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Serehfa as a Cake Addin
#addin nuget:?package=Serehfa&version=0.2.7

// Install Serehfa as a Cake Tool
#tool nuget:?package=Serehfa&version=0.2.7                

<p align="center"> <img src="docs/Logo_colour_sm.png" alt="Ant in a box" /> </p> <h1 align="center"><samp>(feersum . scheme)</samp></h1> <p align="center"> <a href=https://dev.azure.com/iwillspeak/GitHub/_build/latest?definitionId=4&branchName=main"><img alt="Build Status" src="https://dev.azure.com/iwillspeak/GitHub/_apis/build/status/iwillspeak.feersum?branchName=main" /></a> <a href="https://www.nuget.org/packages/Feersum"><img alt="Feersum on NuGet.org" src="https://buildstats.info/nuget/Feersum?includePreReleases=true" /></a> </p>

Wots in that thare box yoor holdin?

A Scheme compiler for .NET written in F#. Progress livestreamed on Twitch, catchup on YouTube

Contributing

Feersum is in active development. Contributions are welcome. See CONTRIBUTING for more imformation. For an introduction to buiding and testing the compiler, as well as a discussion of the high-level structure check out the DEVGUIDE.

Getting Started using Feersum

Feersum is distributed as a .NET tool, and MSBuild SDK. For quick use with an interactive REPL and simple compilation the tool can be installed directly:

$ dotnet tool install -g Feersum

Then from the command line feersum-scheme should launch a Scheme REPL. Type in Scheme code to have it compiled and evaluated. To compile a file into a simple executable run feersum-scheme yourfile.scm. This will produce a new file yourfile.exe which can then be run by dotnet yourfile.exe.

To create an SDK style scheme project and build it with dotnet build first install the Feersum.Templates template pack:

$ dotnet new install Feersum.Templates::*

Then from the command line:

$ dotnet new scm-console

This generates a new console application project in the current directory. Compile and run with dotnet build and dotnet run as usual! Other templates are available:

  • scm-classlib - Generate a .NET class library project.
  • scmlib - Generate s Scheme library definition file.

Planned Features

This is a rough list of interesting features I'd like to implement in this project, and is by no means a guarantee or a strict roadmap.

  • Implement all special forms
  • Support all value types
  • Support all standard procedures
  • Macros support.
    • Macro Hygene (#13).
  • Support for Scheme exceptions and guard.
  • Full numeric tower support.
  • Interop with other .NET assemblies.
  • Multi-statement support in the REPL.
  • Debugging support
    • Bound tree contains sequence points for debuging
    • Stop at entry, and step in.
    • Debuggable REPL. Embedded source in PDBs?
  • MSBUILD SDK support so .scmproj can be defined.
    • Proper support for different target frameworks
  • Scheme library and import support.
  • Standard library & builtins from a separate assembly.
  • Quoted expressions.
  • Diagnostics with position
    • Expose position information in parser.
    • Handle multiple parser errors.
    • Turn errors in bind into diagnotics too.
  • Perform on-demand compilation & emit to in-memory assembly for REPL.

Future themes of development are also tracked with Roadmap issues on GitHub.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Serehfa:

Package Downloads
Feersum.Core

Feersum Scheme is a Scheme implementation that compiles to .NET. Feersum provides a command line tool for batch compliation, a Scheme REPL, and a .NET SDK for MSBuild support.

Feersum.CompilerServices

This package contains the compiler tooling used by the main Feersum compiler. Feersum Scheme is a Scheme implementation that compiles to .NET. Feersum provides a command line tool for batch compliation, a Scheme REPL, and a .NET SDK for MSBuild support.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.7 162 7/1/2024
0.2.6 290 6/20/2023
0.2.5 499 12/4/2021
0.2.4 504 11/12/2021
0.2.3 357 10/24/2021
0.2.2 363 10/18/2021
0.2.1 342 10/11/2021
0.2.0 397 10/10/2021
0.1.2 340 9/26/2021
0.1.1 359 9/19/2021
0.1.0 329 9/17/2021