[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/CodeDom JScriptCodeProvider.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/CodeDom JScriptCodeProvider.cs,NONE,1.1 Makefile,NONE,1.1 |
Date: |
Mon, 13 Jan 2003 05:53:22 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/JScript/CodeDom
In directory subversions:/tmp/cvs-serv3129/JScript/CodeDom
Added Files:
JScriptCodeProvider.cs Makefile
Log Message:
Perform the initial check-in of the JScript implementation (requires
treecc 0.2.0 or higher).
--- NEW FILE ---
/*
* JScriptCodeProvider.cs - CodeDom provider for JScript.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace Microsoft.JScript
{
using System;
using System.CodeDom.Compiler;
#if !ECMA_COMPAT
public class JScriptCodeProvider : CodeDomProvider
{
// Constructor.
public JScriptCodeProvider()
{
// TODO
}
// Create a JScript code compiler.
public override ICodeCompiler CreateCompiler()
{
// TODO
return null;
}
// Create a JScript code generator.
public override ICodeGenerator CreateGenerator()
{
// TODO
return null;
}
// Get the file extension for this language.
public override String FileExtension
{
get
{
return "js";
}
}
}; // class JScriptCodeProvider
#endif // !ECMA_COMPAT
}; // namespace Microsoft.JScript
--- NEW FILE ---
# The build is done in "runtime", so cd up and use that Makefile.
all:
(cd ..;make)
clean:
(cd ..;make clean)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/JScript/CodeDom JScriptCodeProvider.cs,NONE,1.1 Makefile,NONE,1.1,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/doc JScript-embed.txt,NONE,1.1 JScript-internals.txt,NONE,1.1
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.624,1.625 Makefile.am,1.13,1.14 configure.in,1.61,1.62
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/doc JScript-embed.txt,NONE,1.1 JScript-internals.txt,NONE,1.1
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.624,1.625 Makefile.am,1.13,1.14 configure.in,1.61,1.62
- Index(es):