Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grammatical Suggestions #404

Open
snikeguo opened this issue Jan 11, 2025 · 1 comment
Open

Grammatical Suggestions #404

snikeguo opened this issue Jan 11, 2025 · 1 comment

Comments

@snikeguo
Copy link

snikeguo commented Jan 11, 2025

void CompileFile(string input,string output=input)
{
    int x=-1;
     $x=gcc $input -o $output   //shell command. not C#
    if(x==-1)
    {
        echo "build failed!" //shell command. not C#
    }
    
}

void main()
{
    foreach(...)
    {
        CompileFile(fn,fn);
    }
    var objs=GetObjects();
    var elf = "stm32.elf";
    int a=-1;
   $a=ld -lc $objs -o $elf //shell command. not C#
    ......
}
@oleg-shilo
Copy link
Owner

I am afraid there is a misunderstanding about this project. It is specifically about allowing C# syntax execution as a script. Inventing a new syntax is beyond of CS-Script objective.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants