pax_global_header 0000666 0000000 0000000 00000000064 11614623655 0014523 g ustar 00root root 0000000 0000000 52 comment=b3894d7fc2f1367fe7f2659b0fd75b7d154d5a01
nant-0.9.5~git20110729.r1.202a430/ 0000775 0000000 0000000 00000000000 11614623655 0015441 5 ustar 00root root 0000000 0000000 nant-0.9.5~git20110729.r1.202a430/.gitignore 0000664 0000000 0000000 00000000121 11614623655 0017423 0 ustar 00root root 0000000 0000000 /build.properties
/build
/ide-build
test-results
*.pidb
*.suo
*.user
_ReSharper*
nant-0.9.5~git20110729.r1.202a430/.project 0000775 0000000 0000000 00000000764 11614623655 0017122 0 ustar 00root root 0000000 0000000
boo
booclipse.core.booBuilder
monolipse.core.booBuilder
booclipse.core.booNature
monolipse.core.booNature
nant-0.9.5~git20110729.r1.202a430/.settings/ 0000775 0000000 0000000 00000000000 11614623655 0017357 5 ustar 00root root 0000000 0000000 nant-0.9.5~git20110729.r1.202a430/.settings/org.eclipse.core.resources.prefs 0000664 0000000 0000000 00000001011 11614623655 0025563 0 ustar 00root root 0000000 0000000 #Wed Apr 07 09:59:42 BRT 2010
eclipse.preferences.version=1
encoding//src/Boo.Lang.Compiler/.monolipse=utf-8
encoding//src/Boo.Lang.Extensions/.monolipse=utf-8
encoding//src/Boo.Lang.Interpreter/.monolipse=utf-8
encoding//src/Boo.Lang.Parser/.monolipse=utf-8
encoding//src/Boo.Lang.PatternMatching/.monolipse=utf-8
encoding//src/Boo.Lang.Useful/.monolipse=utf-8
encoding//src/Boo.Lang/.monolipse=utf-8
encoding//tests/Boo.Lang.PatternMatching.Tests/.monolipse=utf-8
encoding//tests/Boo.Lang.Useful.Tests/.monolipse=utf-8
nant-0.9.5~git20110729.r1.202a430/AUTHORS 0000664 0000000 0000000 00000000620 11614623655 0016507 0 ustar 00root root 0000000 0000000 Rodrigo B. De Oliveira
Georges Benatti Jr
Daniel Grunwald
Doug Holton
Ian MacLean
Peter Johanson
Arron Washington
Avishay Lavie
Cedric Vivier
Marcus Griep
Jb Evain
nant-0.9.5~git20110729.r1.202a430/Makefile.am 0000664 0000000 0000000 00000000025 11614623655 0017472 0 ustar 00root root 0000000 0000000 SUBDIRS = bin extras
nant-0.9.5~git20110729.r1.202a430/ast.model.boo 0000775 0000000 0000000 00000026325 11614623655 0020043 0 ustar 00root root 0000000 0000000 """
The classes in this module model the entire AST for the language.
The actual AST classes and supporting modules are generated
by a boo script.
"""
namespace Boo.Ast
class CompileUnit(Node):
Modules as ModuleCollection
[Flags]
enum TypeMemberModifiers:
None = 0
Private = 1
Internal = 2
Protected = 4
Public = 8
Transient = 16
Static = 32
Final = 64
Virtual = 128
Override = 256
Abstract = 512
Partial = 1024
New = 2048
VisibilityMask = 15
enum MethodImplementationFlags:
None = 0
Runtime = 1
enum ParameterModifiers:
None = 0
Val = 0
Ref = 1
[Flags]
enum ExceptionHandlerFlags:
None = 0
Anonymous = 1
Untyped = 2
Filter = 4
[Flags]
enum GenericParameterConstraints:
None = 0
ValueType = 1
ReferenceType = 2
Constructable = 4
Covariant = 8
Contravariant = 16
abstract class TypeMember(Node, INodeWithAttributes):
Modifiers as TypeMemberModifiers
Name as string
Attributes as AttributeCollection
class TypeMemberStatement(Statement):
TypeMember as TypeMember
class ExplicitMemberInfo(Node):
InterfaceType as SimpleTypeReference
[collection(TypeMember)]
class TypeMemberCollection:
pass
abstract class TypeReference(Node):
IsPointer as bool
class SimpleTypeReference(TypeReference):
Name as string
class ArrayTypeReference(TypeReference):
ElementType as TypeReference
Rank as IntegerLiteralExpression
class CallableTypeReference(TypeReference, INodeWithParameters):
Parameters as ParameterDeclarationCollection
ReturnType as TypeReference
class GenericTypeReference(SimpleTypeReference):
GenericArguments as TypeReferenceCollection
class GenericTypeDefinitionReference(SimpleTypeReference):
GenericPlaceholders as int
[collection(TypeReference)]
class TypeReferenceCollection:
pass
class CallableDefinition(TypeMember, INodeWithParameters, INodeWithGenericParameters):
Parameters as ParameterDeclarationCollection
GenericParameters as GenericParameterDeclarationCollection
ReturnType as TypeReference
ReturnTypeAttributes as AttributeCollection
abstract class TypeDefinition(TypeMember, INodeWithGenericParameters):
Members as TypeMemberCollection
BaseTypes as TypeReferenceCollection
GenericParameters as GenericParameterDeclarationCollection
[collection(TypeDefinition)]
class TypeDefinitionCollection:
pass
class NamespaceDeclaration(Node):
Name as string
class Import(Node):
Namespace as string
AssemblyReference as ReferenceExpression
Alias as ReferenceExpression
[collection(Import)]
class ImportCollection:
pass
class Module(TypeDefinition):
Namespace as NamespaceDeclaration
Imports as ImportCollection
[auto]
Globals as Block
AssemblyAttributes as AttributeCollection
[collection(Module)]
class ModuleCollection:
pass
class ClassDefinition(TypeDefinition):
pass
class StructDefinition(TypeDefinition):
pass
class InterfaceDefinition(TypeDefinition):
pass
class EnumDefinition(TypeDefinition):
pass
class EnumMember(TypeMember):
Initializer as Expression
class Field(TypeMember):
Type as TypeReference
Initializer as Expression
IsVolatile as bool
class Property(TypeMember, INodeWithParameters, IExplicitMember):
Parameters as ParameterDeclarationCollection
Getter as Method
Setter as Method
Type as TypeReference
ExplicitInfo as ExplicitMemberInfo
class Event(TypeMember):
Add as Method
Remove as Method
Raise as Method
Type as TypeReference
class Local(Node):
Name as string
[collection(Local)]
class LocalCollection:
pass
class BlockExpression(Expression, INodeWithParameters, INodeWithBody):
Parameters as ParameterDeclarationCollection
ReturnType as TypeReference
[auto]
Body as Block
class Method(CallableDefinition, IExplicitMember, INodeWithBody):
[auto]
Body as Block
Locals as LocalCollection
ImplementationFlags as MethodImplementationFlags
ExplicitInfo as ExplicitMemberInfo
class Constructor(Method):
pass
class Destructor(Method):
pass
class ParameterDeclaration(Node, INodeWithAttributes):
Name as string
Type as TypeReference
Modifiers as ParameterModifiers
Attributes as AttributeCollection
[collection(ParameterDeclaration)]
class ParameterDeclarationCollection:
pass
class GenericParameterDeclaration(Node):
Name as string
BaseTypes as TypeReferenceCollection
Constraints as GenericParameterConstraints
[collection(GenericParameterDeclaration)]
class GenericParameterDeclarationCollection:
pass
class Declaration(Node):
Name as string
Type as TypeReference
[collection(Declaration)]
class DeclarationCollection:
pass
class Attribute(Node, INodeWithArguments):
Name as string
Arguments as ExpressionCollection
NamedArguments as ExpressionPairCollection
[collection(Attribute)]
class AttributeCollection:
pass
enum StatementModifierType:
None
If
Unless
While
class StatementModifier(Node):
Type as StatementModifierType
Condition as Expression
abstract class Statement(Node):
Modifier as StatementModifier
class GotoStatement(Statement):
Label as ReferenceExpression
class LabelStatement(Statement):
Name as string
class Block(Statement):
Statements as StatementCollection
[collection(Statement)]
class StatementCollection:
pass
class DeclarationStatement(Statement):
Declaration as Declaration
Initializer as Expression
class MacroStatement(Statement, INodeWithBody):
Name as string
Arguments as ExpressionCollection
[auto]
Body as Block
class TryStatement(Statement):
[auto]
ProtectedBlock as Block
ExceptionHandlers as ExceptionHandlerCollection
FailureBlock as Block
EnsureBlock as Block
class ExceptionHandler(Node):
Declaration as Declaration
FilterCondition as Expression
Flags as ExceptionHandlerFlags
[auto]
Block as Block
[collection(ExceptionHandler)]
class ExceptionHandlerCollection:
pass
abstract class ConditionalStatement(Statement):
Condition as Expression
class IfStatement(ConditionalStatement):
TrueBlock as Block
FalseBlock as Block
class UnlessStatement(ConditionalStatement):
[auto]
Block as Block
class ForStatement(Statement):
Declarations as DeclarationCollection
Iterator as Expression
[auto]
Block as Block
OrBlock as Block
ThenBlock as Block
class WhileStatement(ConditionalStatement):
[auto]
Block as Block
OrBlock as Block
ThenBlock as Block
class BreakStatement(Statement):
pass
class ContinueStatement(Statement):
pass
class ReturnStatement(Statement):
Expression as Expression
class YieldStatement(Statement):
Expression as Expression
class RaiseStatement(Statement):
Exception as Expression
class UnpackStatement(Statement):
Declarations as DeclarationCollection
Expression as Expression
class ExpressionStatement(Statement):
[LexicalInfo]
Expression as Expression
abstract class Expression(Node):
pass
[collection(Expression)]
class ExpressionCollection:
pass
[ignore]
class OmittedExpression(Expression):
pass
class ExpressionPair(Node):
First as Expression
Second as Expression
[collection(ExpressionPair)]
class ExpressionPairCollection:
pass
class MethodInvocationExpression(Expression, INodeWithArguments):
Target as Expression
Arguments as ExpressionCollection
NamedArguments as ExpressionPairCollection
enum BinaryOperatorType:
None
Addition
Subtraction
Multiply
Division
Modulus
Exponentiation
LessThan
LessThanOrEqual
GreaterThan
GreaterThanOrEqual
Equality
Inequality
Match
NotMatch
Assign
InPlaceAddition
InPlaceSubtraction
InPlaceMultiply
InPlaceDivision
InPlaceModulus
InPlaceBitwiseAnd
InPlaceBitwiseOr
ReferenceEquality
ReferenceInequality
TypeTest
Member
NotMember
Or
And
BitwiseOr
BitwiseAnd
ExclusiveOr
InPlaceExclusiveOr
ShiftLeft
InPlaceShiftLeft
ShiftRight
InPlaceShiftRight
#values are ready to be used as mask if/when BinaryOperatorType
#is changed as in patch attached to BOO-1123 (breaking change)
enum BinaryOperatorKind:
Arithmetic = 0xF
Comparison = 0xFF0
TypeComparison = 0xF00
Assignment = 0xFF000
InPlaceAssignment = 0xF0000
Logical = 0x0F00000
Bitwise = 0xF000000
enum UnaryOperatorType:
None
UnaryNegation
Increment
Decrement
PostIncrement
PostDecrement
LogicalNot
Explode
OnesComplement
AddressOf
Indirection
class UnaryExpression(Expression):
Operator as UnaryOperatorType
Operand as Expression
class BinaryExpression(Expression):
Operator as BinaryOperatorType
Left as Expression
Right as Expression
class ConditionalExpression(Expression):
Condition as Expression
TrueValue as Expression
FalseValue as Expression
class ReferenceExpression(Expression):
Name as string
class MemberReferenceExpression(ReferenceExpression):
Target as Expression
class GenericReferenceExpression(Expression):
Target as Expression
GenericArguments as TypeReferenceCollection
abstract class LiteralExpression(Expression):
pass
class QuasiquoteExpression(LiteralExpression):
Node as Node
class StringLiteralExpression(LiteralExpression):
Value as string
class CharLiteralExpression(StringLiteralExpression):
pass
class TimeSpanLiteralExpression(LiteralExpression):
Value as System.TimeSpan
class IntegerLiteralExpression(LiteralExpression):
Value as long
IsLong as bool
class DoubleLiteralExpression(LiteralExpression):
Value as double
IsSingle as bool
class NullLiteralExpression(LiteralExpression):
pass
class SelfLiteralExpression(LiteralExpression):
pass
class SuperLiteralExpression(LiteralExpression):
pass
class BoolLiteralExpression(LiteralExpression):
Value as bool
class RELiteralExpression(LiteralExpression):
Value as string
class SpliceExpression(Expression):
Expression as Expression
class SpliceTypeReference(TypeReference):
Expression as Expression
class SpliceMemberReferenceExpression(Expression):
Target as Expression
NameExpression as Expression
class SpliceTypeMember(TypeMember):
TypeMember as TypeMember
NameExpression as Expression
class SpliceTypeDefinitionBody(TypeMember):
Expression as Expression
class SpliceParameterDeclaration(ParameterDeclaration):
ParameterDeclaration as ParameterDeclaration
NameExpression as Expression
class ExpressionInterpolationExpression(Expression):
Expressions as ExpressionCollection
class HashLiteralExpression(LiteralExpression):
Items as ExpressionPairCollection
class ListLiteralExpression(LiteralExpression):
Items as ExpressionCollection
class CollectionInitializationExpression(Expression):
Collection as Expression
Initializer as Expression
class ArrayLiteralExpression(ListLiteralExpression):
Type as ArrayTypeReference
class GeneratorExpression(Expression):
Expression as Expression
Declarations as DeclarationCollection
Iterator as Expression
Filter as StatementModifier
class ExtendedGeneratorExpression(Expression):
Items as GeneratorExpressionCollection
[collection(GeneratorExpression)]
class GeneratorExpressionCollection:
pass
class Slice(Node):
Begin as Expression
End as Expression
Step as Expression
[collection(Slice)]
class SliceCollection:
pass
class SlicingExpression(Expression):
Target as Expression
Indices as SliceCollection
class TryCastExpression(Expression):
Target as Expression
Type as TypeReference
class CastExpression(Expression):
Target as Expression
Type as TypeReference
class TypeofExpression(Expression):
Type as TypeReference
class CustomStatement(Statement):
pass
class CustomExpression(Expression):
pass
class StatementTypeMember(TypeMember):
"""
Allow for macros and initializing statements inside type definition bodies.
"""
Statement as Statement
nant-0.9.5~git20110729.r1.202a430/bin/ 0000775 0000000 0000000 00000000000 11614623655 0016211 5 ustar 00root root 0000000 0000000 nant-0.9.5~git20110729.r1.202a430/bin/.gitignore 0000664 0000000 0000000 00000000006 11614623655 0020175 0 ustar 00root root 0000000 0000000 *.mdb
nant-0.9.5~git20110729.r1.202a430/bin/Boo.Microsoft.Build.targets 0000775 0000000 0000000 00000020524 11614623655 0023333 0 ustar 00root root 0000000 0000000
$(MSBuildAllProjects);$(BooBinPath)\Boo.Microsoft.Build.targets
$(MSBuildAllProjects);$(MSBuildBinPath)\Boo.Microsoft.Build.targets
.boo
Boo
<_Temporary Remove="@(_Temporary)" />
<_Temporary Remove="@(_Temporary)" />
false
true
false
_ComputeNonExistentFileProperty
$(ReferencePath);$(BoocToolPath)
$(ReferencePath);$(BooBinPath)
nant-0.9.5~git20110729.r1.202a430/bin/Makefile.am 0000664 0000000 0000000 00000001152 11614623655 0020244 0 ustar 00root root 0000000 0000000 boodir = $(libdir)/boo
boo_DATA = booc.exe booi.exe booish.exe booc.rsp booc.exe.config booi.exe.config booish.exe.config Boo.NAnt.Tasks.dll
BOO_GAC_DLLS = Boo.Lang.dll \
Boo.Lang.Useful.dll \
Boo.Lang.Extensions.dll \
Boo.Lang.Compiler.dll \
Boo.Lang.Parser.dll \
Boo.Lang.Interpreter.dll \
Boo.Lang.PatternMatching.dll \
Boo.Lang.CodeDom.dll
install-data-hook:
for lib in $(BOO_GAC_DLLS); do \
echo "$(GACUTIL) /i $${lib} $(GACUTIL_FLAGS)" ; \
$(GACUTIL) /i $${lib} $(GACUTIL_FLAGS) || exit 1 ; \
done
EXTRA_DIST = $(BOO_GAC_DLLS) $(boo_DATA)
nant-0.9.5~git20110729.r1.202a430/bin/booc.exe.config 0000775 0000000 0000000 00000000325 11614623655 0021105 0 ustar 00root root 0000000 0000000
nant-0.9.5~git20110729.r1.202a430/bin/booc.rsp 0000775 0000000 0000000 00000001070 11614623655 0017662 0 ustar 00root root 0000000 0000000 # This file contains command-line options that the Boo
# command-line compiler (booc) will process as part
# of every compilation, unless the "-noconfig" option
# is specified.
# Reference the common Framework libraries
#-r:System (already included by boo)
#-r:System.Data
-r:System.Drawing
#-r:System.Management
#-r:System.Messaging
#-r:System.Runtime.Remoting
#-r:System.Runtime.Serialization.Formatters.Soap
# does not work nicely on mono
-r:System.Security
#-r:System.ServiceProcess
#-r:System.Web
#-r:System.Web.Services
#-r:System.Windows.Forms
-r:System.Xml
nant-0.9.5~git20110729.r1.202a430/bin/booi.exe.config 0000775 0000000 0000000 00000000325 11614623655 0021113 0 ustar 00root root 0000000 0000000
nant-0.9.5~git20110729.r1.202a430/bin/booish.exe.config 0000775 0000000 0000000 00000000325 11614623655 0021446 0 ustar 00root root 0000000 0000000
nant-0.9.5~git20110729.r1.202a430/booc 0000775 0000000 0000000 00000000047 11614623655 0016312 0 ustar 00root root 0000000 0000000 #!/bin/sh
env mono build/booc.exe "$@"
nant-0.9.5~git20110729.r1.202a430/booi 0000775 0000000 0000000 00000000047 11614623655 0016320 0 ustar 00root root 0000000 0000000 #!/bin/sh
env mono build/booi.exe "$@"
nant-0.9.5~git20110729.r1.202a430/configure.in.in 0000664 0000000 0000000 00000001264 11614623655 0020362 0 ustar 00root root 0000000 0000000 AC_INIT(boo, VERSION)
AM_INIT_AUTOMAKE(boo, VERSION)
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
MIME_PREFIX=`$PKG_CONFIG --variable=prefix shared-mime-info`
GTKSOURCEVIEW_PREFIX=`$PKG_CONFIG --variable=prefix gtksourceview-1.0`
AC_SUBST(MIME_PREFIX)
AC_SUBST(GTKSOURCEVIEW_PREFIX)
AC_PATH_PROG(RUNTIME, mono)
AC_SUBST(RUNTIME)
AC_PATH_PROG(GACUTIL, gacutil, no)
GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(DESTDIR)/$(libdir)'
AC_SUBST(GACUTIL_FLAGS)
AC_OUTPUT([
Makefile
bin/Makefile
extras/Makefile
extras/booc
extras/booi
extras/booish
extras/boo.pc
])
echo "
Summary:
shared-mime-info prefix: $MIME_PREFIX
gtksourceview-1.0 prefix: $GTKSOURCEVIEW_PREFIX
boo prefix: $prefix
"
nant-0.9.5~git20110729.r1.202a430/default.build 0000775 0000000 0000000 00000112631 11614623655 0020115 0 ustar 00root root 0000000 0000000
print("Hello from boo task!")
print("Framework directory: ${Project.TargetFramework.FrameworkAssemblyDirectory}")
for p as System.Collections.DictionaryEntry in Project.Properties:
print("${p.Key}: ${p.Value}")
Please set the property 'mono.prefix' to point to the prefix of your
mono installation (example: c:\dotnet\mono-1.1.8).
Use the make-bin-dist or install targets instead on non-win32 platforms.
import System.IO
fname = "src/Boo.Lang/Builtins.cs"
builtins = File.ReadAllText(fname)
version = Project.Properties["boo.version"]
newBuiltins = @/new System.Version\(".+"\)/.Replace(builtins, "new System.Version(\"${version}\")")
if builtins != newBuiltins:
print fname
File.WriteAllText(fname, newBuiltins)
***
In the event of detected defects, a detailed report will be available at:
file://${path::combine(path::get-full-path(build.dir), 'gendarme-report.html')}
***
nant-0.9.5~git20110729.r1.202a430/docs/ 0000775 0000000 0000000 00000000000 11614623655 0016371 5 ustar 00root root 0000000 0000000 nant-0.9.5~git20110729.r1.202a430/docs/BooManifesto.sxw 0000664 0000000 0000000 00000035427 11614623655 0021534 0 ustar 00root root 0000000 0000000 PK b219 mimetypeapplication/vnd.sun.xml.writerPK b2neT T layout-cache pP P
P
P C P o P P
P PK b2 content.xml=rFrc]ڍ%J]i+G֮}WyRW!0 0 E'Wuɯk$orO)+jwI77QBR/wڭ&bO2껽o/^
Hٞf~=R3__1gcksmyreɋ}Ө4A뙸ɖ//u_ҷy~ʷakء7ۧf;#^&8B/_ \Aor^7+ a[6xoߌ<-+7