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

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

License

Notifications You must be signed in to change notification settings

Jaezmien/FiMSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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