Jaezmien / FiMSharp

πŸ’»πŸ“œπŸŽ A FiM++ interpreter library written in C#

Home Page:https://fimsharp.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚠ Deprecated

FiMSharp is no longer actively maintained. Please check out the successor: fim.

Feel free to check out the new project for updates and improvements!


🐎 FiMSharp

FiMSharp is a FiM++ interpreter library written in C#.


πŸ–₯ Usage

Library

using FiMSharp;

FiMReport report = new FiMReport(@"Dear Princess Celestia: Hello World!
Today I learned how to say hello world.
	I said ""Hello World!"".
That's all about how to say hello world.
Your faithful student, Twilight Sparkle."); // You can also use FiMReport.FromFile(string path); to use a path instead.

report.Output = (l) => Console.Write(l);

if( report.MainParagraph != null ) {
	report.MainParagraph.Execute(); // Outputs "Hello World!" into the console.
}

CLI

$ ./fim Reports/hello.fim
Hello World!

See the reports folder for sample reports you can run on FiMSharp.

🚧 Supported Platforms

πŸ“š External Resources

πŸ“ Notes

  • FiMSharp is just a personal hobby project, seeing as FiM++ has never been updated for quite some time now.

  • The syntax used here follows a modified Sparkle 1.0 syntax, unlike what fimpp uses. Please refer to the sample reports to see the differences.

About

πŸ’»πŸ“œπŸŽ A FiM++ interpreter library written in C#

https://fimsharp.netlify.app/

License:GNU General Public License v3.0


Languages

Language:C# 99.5%Language:Makefile 0.5%