Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Latest commit

 

History

History
87 lines (56 loc) · 2.41 KB

README.md

File metadata and controls

87 lines (56 loc) · 2.41 KB

⚠ 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.