Microsoft MVP성태의 닷넷 이야기
.NET : 96. C# Interpreter [링크 복사], [링크+제목 복사],
조회: 16201
글쓴 사람
정성태 (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)
160정성태4/13/200612165MS 인증서버 : 인증서 유효 기간 기본값 변경
157정성태4/13/200611600Converting a managed PDB into a XML file
158정성태4/13/200610922    답변글 [추가]: A SymWriter sample is coming...
156정성태4/13/200611947Method Call Interception (MCI) in C++
155정성태4/13/200611493Web Project Conversion Wizard
154정성태12/21/200512266Interprocess Communication Using the Running Object Table (ROT)파일 다운로드1
153정성태4/13/200611920Assembly loading failure is expensive [1]
152정성태4/13/200612249ASCX 컨트롤을 커스텀 컨트롤로 사용하는 방법.
151정성태4/13/200611132TechNet 세미나 목록
150정성태4/13/200611217SCDL Tool [2]
149정성태4/13/200611298Disk (based) Output Cache
147정성태4/13/200611145CLR Profiler for the .NET Framework 2.0
146정성태4/13/200612069Scriptomatic Version 2.0 by the Microsoft Scripting Guys
145정성태4/13/200611601Windows Server 2003 R2 [2]
144정성태4/13/200612088WTL(Windows Template Library) 7.5
143정성태4/13/200612364.NET 1.1 에서 WebService Client 의 KeepAlive = false; 설정
142정성태4/13/200611530Virtual Server 2005 R2 (x86, x64) EE 180-day Evaluation [2]
141정성태4/13/200612178.NET 표준개발 가이드와 Microsoft.Framework 공개
140정성태4/13/200610668PAINT.NET
139정성태11/30/20051168012월 세미나 행사
137정성태11/17/200511130WSE 3.0 정식 버전
162정성태4/13/200611764    답변글 [추가]: Web Service Security Guide
136정성태11/17/200511414Creating an Outlook My.Blogs Managed Code Add-in
138정성태11/24/200510846    답변글 Ceating an Outlook Business Contact Assistant Add-in with Visual Studio Tools for Office
135정성태11/16/200511179What's port 445 used for in Windows 2000/XP?파일 다운로드1
134정성태11/15/200511134Microsoft SQL Server Management Studio Express - Community Technical Preview (CTP) November 2005 [1]
... 31  32  33  34  35  36  37  38  39  40  [41]  42  43  44  45  ...