Microsoft MVP성태의 닷넷 이야기
.NET : 96. C# Interpreter [링크 복사], [링크+제목 복사],
조회: 16200
글쓴 사람
정성태 (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/200612964Visual Studio 2005 Team System Level 200 Course Material
268정성태5/4/200613356Microsoft Component Installer Software Development Kit for Windows (x86) Version 2.0
267정성태5/4/200613368101 Code Samples for Visual Basic 2005
266정성태5/3/200615404Consolas Font Pack for Microsoft Visual Studio 2006 [2]
264정성태5/1/200614895Team System for C++ Developers
262정성태5/1/200625046Registry 등록 없이 COM 개체 사용 [1]파일 다운로드2
261정성태4/30/2006146774GB 메모리 인식 [2]
259정성태4/30/200613329Building ASP.NET 2.0 Web Sites Using Web Standards
260정성태4/30/200612730    답변글 XHTML Validator Modulle
258정성태4/29/200613258WebServiceStudio 2.0
263정성태5/1/200612727    답변글 Calling an Arbitrary Web Service
257정성태4/29/200612675TypeForwardedToAttribute
256정성태4/29/200612889Windows API - Using Condition Variables
252정성태4/26/200612745한글 관련 메세지 정리파일 다운로드1
251정성태4/26/200613429IIS 7.0 에서 소개되는 새로운 기능들 [1]
250정성태4/25/200613977툴 소개: VisualNDepend
249정성태4/25/200619966Integrating a debugger into Reflector
265정성태5/1/200614264    답변글 Deblector: First Version
285정성태5/15/200612260    답변글 New Deblector version ( an Add-In to debug with reflector )
248정성태4/21/200612535VS.NET 2005 Add-In : CSS Properties Window
247정성태4/21/200612379VS.NET 2005 Add-In : Spell Checker for HTML and ASP.NET pages
244정성태4/19/200612286SQL Server 2005 Service Pack 1
241정성태4/19/200611804VSTS Annotations for C++: Beyond Just Documenting Method Behavior [1]파일 다운로드1
240정성태4/18/200612440Accessing System Power and Network Status Using SENS
253정성태4/29/200612635    답변글 [HowToUse]: Accessing System Power and Network Status Using SENS
239정성태4/18/200612247Display a Web Page in a Plain C Win32 Application
... 31  32  33  34  35  36  [37]  38  39  40  41  42  43  44  45  ...