Microsoft MVP성태의 닷넷 이야기
.NET : 96. C# Interpreter [링크 복사], [링크+제목 복사],
조회: 17139
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

The source code IS the executable [Releasing CSI, a C# interpreter (with source and tests) for .NET]
; https://docs.microsoft.com/en-us/archive/blogs/delay/the-source-code-is-the-executable-releasing-csi-a-c-interpreter-with-source-and-tests-for-net

엄밀히 GW-Basic과 같은 식의 인터프리터라고 볼 수는 없지만. ^^

2가지 방식의 실행을 지원합니다.

Examples:
   CSI Example.cs
   CSI Example.cs -r System.Xml.dll -a ArgA ArgB -Switch
   CSI ExampleA.cs ExampleB.cs -d DEBUG -d TESTING -R

위의 방식은 그냥 csc.exe 동작과 유사하죠. 이렇게만 하면 별다른 매력이 없는데, 다음과 같이 확장자가 등록되어 바로 실행되는 것도 지원을 해주기 때문에 그나마 좀 ^^ 낫습니다.

C:\T\CSI>TYPE Samples\Greetings.csi
using System;

public class Greetings
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello {0}", string.Join(" ", args));
    }
}
C:\T\CSI>Samples\Greetings.csi out there world.
Hello out there world.






[최초 등록일: ]
[최종 수정일: 6/21/2021]


비밀번호

댓글 작성자
 




... 31  32  33  34  35  36  [37]  38  39  40  41  42  43  44  45  ...
NoWriterDateCnt.TitleFile(s)
269정성태5/4/200613909Visual Studio 2005 Team System Level 200 Course Material
268정성태5/4/200614331Microsoft Component Installer Software Development Kit for Windows (x86) Version 2.0
267정성태5/4/200614441101 Code Samples for Visual Basic 2005
266정성태5/3/200616501Consolas Font Pack for Microsoft Visual Studio 2006 [2]
264정성태5/1/200616055Team System for C++ Developers
262정성태5/1/200626243Registry 등록 없이 COM 개체 사용 [1]파일 다운로드2
261정성태4/30/2006157874GB 메모리 인식 [2]
259정성태4/30/200614411Building ASP.NET 2.0 Web Sites Using Web Standards
260정성태4/30/200613763    답변글 XHTML Validator Modulle
258정성태4/29/200614248WebServiceStudio 2.0
263정성태5/1/200613676    답변글 Calling an Arbitrary Web Service
257정성태4/29/200613630TypeForwardedToAttribute
256정성태4/29/200613871Windows API - Using Condition Variables
252정성태4/26/200613549한글 관련 메세지 정리파일 다운로드1
251정성태4/26/200614344IIS 7.0 에서 소개되는 새로운 기능들 [1]
250정성태4/25/200614866툴 소개: VisualNDepend
249정성태4/25/200620872Integrating a debugger into Reflector
265정성태5/1/200615118    답변글 Deblector: First Version
285정성태5/15/200613055    답변글 New Deblector version ( an Add-In to debug with reflector )
248정성태4/21/200613330VS.NET 2005 Add-In : CSS Properties Window
247정성태4/21/200613187VS.NET 2005 Add-In : Spell Checker for HTML and ASP.NET pages
244정성태4/19/200613051SQL Server 2005 Service Pack 1
241정성태4/19/200612559VSTS Annotations for C++: Beyond Just Documenting Method Behavior [1]파일 다운로드1
240정성태4/18/200613255Accessing System Power and Network Status Using SENS
253정성태4/29/200613364    답변글 [HowToUse]: Accessing System Power and Network Status Using SENS
239정성태4/18/200613025Display a Web Page in a Plain C Win32 Application
... 31  32  33  34  35  36  [37]  38  39  40  41  42  43  44  45  ...