GnaspGames / Smelt

A CLI tool for Minecraft map makers
http://smelt.gnasp.com
MIT License
19 stars 4 forks source link

!include Bang Command #55

Open destruc7i0n opened 8 years ago

destruc7i0n commented 8 years ago

Allow files to be included into others, for code structuring.

e.g. !include hello.mcc

GnaspGames commented 8 years ago

I like this idea a lot.

I plan on rewriting the compiler to be more SoC friendly. I will keep this idea in mind so that this will be easier to implement when I do.

GnaspGames commented 7 years ago

I think that files intended to be used as includes should have either a different file extention or prefix.

Such as _variables.mcc

This means that if a directory is being compiled, include files can be ignored.