📔Project Info

BFScript is a scripting language that makes implementing complex MCBE command systems easy & accessible!

Convenience & useability is my top priority when it comes to this project. If you have any ideas or suggestions for the project then join our Discord server & share your thoughts with us!

👤Contributors

👑PhosphorusXD:

Socials: - Discord: "@phosphorusxd" - Replit: "@phosxd"

Lead developer & original creator of the project.

🗄️Version History

1.2.1

Released: ? A quick fix, sticky lines generated from Statement type or Keyword Handler funtions would overwrite non-sticky lines in the same output file. I don’t know how I let this get passed me.

  • Bug fix.

  • Renamed BFSC_statements is now BFSC_kwHandlers & all references of "Statement type"(s) have been replaced with "kwHandler"(s).

  • Added ability to define sort order & command names for Terminal Commands

1.2.0

Released: May 12th 2024 Now much easier to modify & read source code. Also the parser/tokenizer is much better & has more capability if I ever need it.

The ZIP file containing the project now contains a README.md file & an EXE of the compiler.

  • Added command terminal & "autoRun" config setting (default is "no").

  • Added "when"/"event" statement.

  • Added "clear", "clearspawnpoint", "difficulty" & "kill" commands to "cmd" statement.

  • Added ability to chain multiple conditions together with "and" or "&" parameter in "if" & "loop while" statements.

  • Statement types can now be referenced by multiple keywords instead of a single keyword. Every statement type now has multiple keywords.

  • De-Centralized source code, each statement type is added as a seperate file. This makes modifying the code much easier.

  • Added ability to nest lists.

  • Added "defaultVarDomain" config setting (default is "bfsGlobals").

  • Many minor changes..

1.1.1

Released: May 1st 2024 More convenience 😃 Also the default statement seperator in config files is now "\n" or a new line instead of a semicolon (";”). I wasn’t able to do this before due to the terrible parsing, but now it’s not as terrible ;D

  • Revamped "cmd" statement. "cmd" is now actually useful & doesnt just do the same thing as "line". Currently there are only 5 commands (Tellraw, titleraw, time, weather & event).

  • Added variable domains.

  • Added ability to define functions with parameters & call functions while passing parameters to them with call statements.

  • Added ability to delete all variables in a group using "del".

  • Other changes..

1.1.0

Released: April 25th 2024 A huge update for BFSC!

  • Added "group" statement.

  • Added "line" statement.

  • Added "call" statement.

  • Overhauled loop statements, replaced old loop statement with for & while loops.

  • Removed "reloop" statement. Reloop re-used/called the given loop.

  • Removed "break" statement. Break was used to end loops.

  • Removed "is" & "isnt" conditional operators.

  • Added "statementSeperator" setting to config. Default is ";".

  • Added "ignoreAllErrors" setting to config. Default is "no".

  • Fixed "!=" conditional operator throwing error: "Operator does not exist".

  • Added support for comparing integers using "<" & ">" operators.

  • Added support for "Int to Var" comparisons. Before, the Var always had to be first ("Var to Int").

  • Removed variable definition checking.

  • Many other changes & fixes..

1.0.0

Released: April 23rd 2024 Github Repo: https://github.com/phosxd/BFScript/tree/1.0.0 Replit Page: https://replit.com/@phosxd/BFScript-Compiler

Last updated