Draco-lang / Language-suggestions

Collecting ideas for a new .NET language that could replace C#
75 stars 5 forks source link

Scripting mode for Fresh #65

Open Binto86 opened 2 years ago

Binto86 commented 2 years ago

what do I mean by scripting mode

Scripting mode would enable running fresh files without having project file and idealy as a real script (without producing any binaries)

why would we need a scripting mode?

When you need to do some simple thing on your pc, for example renaming some files, you probably don't want to start entire new project, open your ide, generate bunch of binary files you will never use again etc. Thats where the scripting mode would be useful. Just write simple script run it and you are done, no project file, no binaries nothing but simple script file.

some alternatives

If there would be problem with integrating scripts with c#, we could have option to compile without having project file and option to delete binary files after running.