aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
Commit message (Collapse)AuthorAgeFilesLines
* z3 conditionschriseth2017-08-231-0/+1
|
* Merge pull request #2656 from ethereum/performance1chriseth2017-08-232-21/+31
|\ | | | | Avoid some Json copy operations.
| * Create children node in ASTJsonConverter when neccesaryAlex Beregszaszi2017-08-211-0/+8
| |
| * Avoid some Json copy operations.chriseth2017-08-212-21/+23
| |
* | Introduce view (and keep constant as an alias)Alex Beregszaszi2017-08-232-1/+2
| |
* | Merge pull request #2775 from ethereum/coveritychriseth2017-08-222-5/+4
|\ \ | | | | | | Fix some issues found by Coverity
| * | Some smaller issues found by Covertiy ScanAlex Beregszaszi2017-08-222-5/+4
| | |
* | | Merge pull request #2776 from ethereum/removeVisitsToAbstractASTNodeAlex Beregszaszi2017-08-227-40/+2
|\ \ \ | |/ / |/| | Remove visits to abstract AST class TypeName.
| * | Remove visits to abstract AST class TypeName.chriseth2017-08-227-40/+2
| | |
* | | Merge pull request #2734 from ethereum/reject-create-interfaceAlex Beregszaszi2017-08-221-0/+3
|\ \ \ | |/ / |/| | Reject the creation of interface with the new statement
| * | Reject the creation of interface with the new statementAlex Beregszaszi2017-08-221-0/+3
| |/
* | Mark a lot of functions static (where possible)Alex Beregszaszi2017-08-221-3/+3
| |
* | Mark a lot of functions const (where possible)Alex Beregszaszi2017-08-221-3/+3
| |
* | Set variable to nullptr in ASTPrinterAlex Beregszaszi2017-08-221-1/+1
|/
* Remove isDeclaredConst() from functionsAlex Beregszaszi2017-08-173-5/+3
|
* Add statemutability to AST JSONAlex Beregszaszi2017-08-171-0/+2
|
* FunctionType comparison/identifer to support all statemutability levelsAlex Beregszaszi2017-08-171-10/+4
|
* Merge pull request #2704 from ethereum/newEncoderchriseth2017-08-142-4/+6
|\ | | | | New ABI encoder
| * Experimental feature switch for ABI encoder.chriseth2017-08-141-2/+6
| |
| * Allow multi-dimensional arrays in interfaces.chriseth2017-08-141-2/+0
| |
* | Remove constant/payable in all function typesAlex Beregszaszi2017-08-142-29/+15
| |
* | Replace constant/payable with StateMutability in ASTAlex Beregszaszi2017-08-145-42/+95
|/
* Use fully qualified name of super in messageFederico Bond2017-08-122-0/+10
|
* Add analysis-only experimental featuresAlex Beregszaszi2017-08-111-2/+9
|
* Add __test experimental mode for testingAlex Beregszaszi2017-08-111-2/+6
|
* Merge pull request #2727 from ethereum/simplify-typeschriseth2017-08-111-16/+29
|\ | | | | Simplify if/else statements in Types
| * Simplify if/else statements in TypesAlex Beregszaszi2017-08-111-16/+29
| |
* | FunctionType operator== boolean refactorgubatron2017-08-111-17/+12
| |
* | Check for payable when comparing function typesAlex Beregszaszi2017-08-111-4/+15
|/
* Merge pull request #2690 from ethereum/experimental-pragmachriseth2017-08-102-0/+38
|\ | | | | Support experimental feature pragma
| * Introduce ExperimentalFeatures headerAlex Beregszaszi2017-08-102-2/+38
| |
| * Support experimental feature pragmaAlex Beregszaszi2017-08-101-0/+2
| |
* | Add isDynamicallyEncoded member function to types.chriseth2017-08-102-1/+16
|/
* Make toString(visibility) a helperAlex Beregszaszi2017-08-093-23/+23
|
* Constructors must be implemented if declared.Alex Beregszaszi2017-08-051-2/+1
|
* Replace isFullyImplemented with unimplementedFunctions in ASTAnnotationsAlex Beregszaszi2017-08-042-3/+4
|
* Disallow gas modifier on sha255/ripemd160/ecrecoverAlex Beregszaszi2017-08-021-3/+0
|
* Rename Bare to BarecallAlex Beregszaszi2017-08-012-6/+6
|
* Disallow externalSignature for fallback functionsAlex Beregszaszi2017-07-281-0/+1
|
* Add isFallback() helperAlex Beregszaszi2017-07-282-3/+4
|
* Merge pull request #2645 from ethereum/assertsAlex Beregszaszi2017-07-274-32/+19
|\ | | | | Use solAssert where possible
| * Use solAssert instead of boost throw where possibleAlex Beregszaszi2017-07-274-32/+19
| |
* | Merge pull request #2566 from ethereum/metadata-only-relevantchriseth2017-07-272-2/+30
|\ \ | |/ |/| Metadata: only include relevant files in the source list
| * Add template for merging setsAlex Beregszaszi2017-07-191-4/+1
| |
| * Avoid cyclic imports in referencedSourceUnitsAlex Beregszaszi2017-07-192-6/+11
| |
| * Add option to recurse referencedSourceUnitsAlex Beregszaszi2017-07-192-5/+10
| |
| * Add referencedSourceUnits() helperAlex Beregszaszi2017-07-192-0/+13
| |
| * Add sourceUnit() helper to DeclarationAlex Beregszaszi2017-07-192-2/+10
| |
* | Cleanup fixed point type changeschriseth2017-07-202-60/+36
| |
* | Change fixed point types to have digit countVoR02202017-07-202-51/+73
|/ | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Mark modifiers as internalAlex Beregszaszi2017-07-191-1/+1
|
* Issue error properly for oversized arrays for calldataAlex Beregszaszi2017-07-142-1/+17
|
* Merge pull request #2567 from ethereum/refactorExceptionschriseth2017-07-131-6/+11
|\ | | | | Refactor exceptions and provide comment function.
| * Refactor exceptions and provide comment function.chriseth2017-07-131-6/+11
| |
* | Add type error when attempting value transfer to a non-payable contractFederico Bond2017-07-132-0/+10
|/
* Merge pull request #2501 from ethereum/undef-macroschriseth2017-07-121-1/+0
|\ | | | | Move UndefMacros from libdevcore to libsolidity/parsing
| * Move UndefMacros from libdevcore to libsolidity/parsingAlex Beregszaszi2017-07-021-1/+0
| |
* | Helper functions.chriseth2017-07-114-0/+40
|/
* Use boost::starts_withAlex Beregszaszi2017-06-291-1/+1
|
* Rename to isHexNumber()Alex Beregszaszi2017-06-292-4/+4
|
* Add hasHexPrefix() to AST::LiteralAlex Beregszaszi2017-06-282-6/+15
|
* Only allow equality checks for internal function types.chriseth2017-06-261-1/+1
|
* Disallow comparisons between some types.chriseth2017-06-262-5/+14
|
* Fix strings interpreted as addresses.chriseth2017-06-221-0/+2
|
* Merge interface/Exceptions and interface/UtilsAlex Beregszaszi2017-06-225-6/+0
|
* Merge pull request #2331 from ethereum/ASTDocumentationEntrychriseth2017-06-141-0/+1
|\ | | | | documentation field added to ContractDefinition-Node
| * documentation field added to ContractDefinition-Nodedjudjuu2017-05-311-0/+1
| |
* | adjusted testcase and renamingdjudjuu2017-06-062-5/+3
| |
* | fix Literalprintdjudjuu2017-05-312-2/+20
|/
* Merge pull request #2301 from ethereum/ASTFunctionTypeFixchriseth2017-05-242-2/+4
|\ | | | | insert ParameterList-node in FunctionType-json
| * insert ParameterList-node in FunctionType-jsondjudjuu2017-05-242-2/+4
| |
* | Fix AST JSON converter type lookupAlex Beregszaszi2017-05-241-1/+1
|/
* minor fixes and changelog updatedjudjuu2017-05-221-1/+1
|
* refactoring functionCallAnnotationdjudjuu2017-05-193-11/+38
|
* testsuite adjustmentdjudjuu2017-05-191-4/+4
|
* include new InlineAssemblyInformation into JSONdjudjuu2017-05-172-2/+13
|
* prefixChanges and contractKind-fielddjuju2017-05-172-13/+24
|
* fixed styletypos, renaming and added helperfunctiondjuju2017-05-172-36/+40
|
* Use different AST node names in legacy and new formatAlex Beregszaszi2017-05-171-9/+9
|
* Compact format for AST-Json with backwards compatibilitychriseth2017-05-174-449/+472
|
* Refactor to combined scope and stack height info.chriseth2017-04-261-6/+6
|
* Storage access from inline assembly.chriseth2017-04-251-0/+2
|
* Move analysis out of code generator.chriseth2017-04-251-0/+4
|
* Split external identifier access into resolving and code generation.chriseth2017-04-251-2/+8
|
* Add ContractKind to ContractDefinitionAlex Beregszaszi2017-03-181-4/+8
|
* Merge pull request #1773 from ethereum/ASTEntrychriseth2017-03-182-3/+50
|\ | | | | Ast entry
| * Comment.chriseth2017-03-172-2/+2
| |
| * AST entry for VariableDeclarationdjudjuu2017-03-162-3/+50
| |
* | Change references to FunctionType::LocationAlex Beregszaszi2017-03-161-8/+8
| |
* | Rename FunctionType::Location to FunctionType::KindAlex Beregszaszi2017-03-162-100/+99
|/
* Merge pull request #1698 from ethereum/exp-notationchriseth2017-03-152-27/+91
|\ | | | | Fix scientific notation in number literals
| * Split out parseRational from isValidLiteralAlex Beregszaszi2017-03-152-32/+58
| |
| * Rename x to valueAlex Beregszaszi2017-03-151-16/+17
| |
| * Disallow radix points in hex literalsAlex Beregszaszi2017-03-151-1/+6
| |
| * Do not try parsing hex numbers as scientific notationAlex Beregszaszi2017-03-151-1/+2
| |
| * Support older version of boostAlex Beregszaszi2017-03-151-1/+4
| |
| * Support negative exponentAlex Beregszaszi2017-03-151-6/+11
| |
| * Fix exponentional notation in number literalsAlex Beregszaszi2017-03-151-4/+27
| |
* | Merge pull request #1729 from ethereum/constantvariablesYoichi Hirai2017-03-153-0/+18
|\ \ | | | | | | Only allow pure expressions for constant state variables.
| * | Type checking for pure expressions.chriseth2017-03-133-0/+18
| |/
* / Require and Assert.chriseth2017-03-141-1/+2
|/
* Fix 'ambiguous overload for operator==' Boost error.Ryan Casey2017-03-101-5/+5
|
* Move public constructor property into AST itself.chriseth2017-03-063-2/+8
|
* Strict checking for AST annotation types.chriseth2017-03-061-20/+20
|
* Convert reference types to pointers in member function conversion.chriseth2017-03-011-1/+1
|
* Merge pull request #1700 from ethereum/fixNoMobilechriseth2017-02-241-2/+5
|\ | | | | Some checks for the existence of mobile type.
| * Merge branch 'develop' into fixNoMobilechriseth2017-02-241-0/+4
| |\
| * | Some checks for the existence of mobile type.chriseth2017-02-161-2/+5
| | |
* | | Disallow setting .gas() on .transfer()Alex Beregszaszi2017-02-241-2/+1
| | |
* | | Support gas modifier on addr.transfer()Alex Beregszaszi2017-02-241-1/+2
| | |
* | | Implement address.transfer()Alex Beregszaszi2017-02-242-1/+4
| |/ |/|
* | Fix early exist for fatal errors.chriseth2017-02-161-0/+4
|/
* Support revert()Alex Beregszaszi2017-02-112-0/+2
|
* Implement assert as a global functionAlex Beregszaszi2017-02-101-3/+4
|
* Add isNegative to RationalNumberTypeAlex Beregszaszi2017-02-021-0/+3
|
* Support explicit conversion of external function type to addressAlex Beregszaszi2017-02-012-0/+12
|
* Refactor json return type generation.chriseth2017-01-272-20/+0
|
* Also check library addresses.chriseth2017-01-251-21/+1
|
* Warn about invalid checksums of addresses.chriseth2017-01-254-2/+56
|
* Check if constructor is public or not.chriseth2017-01-211-0/+2
|
* Merge pull request #1576 from ethereum/typeIdentifiersYoichi Hirai2017-01-204-20/+290
|\ | | | | Type identifiers.
| * Make m_id const.chriseth2017-01-201-1/+1
| |
| * Reset AST node IDs between compilation runs.chriseth2017-01-203-5/+26
| |
| * Properly escape user strings and lists.chriseth2017-01-192-44/+86
| |
| * Type identifiers.chriseth2017-01-192-3/+210
| |
* | Fix default function type name visibility.chriseth2017-01-191-1/+4
|/
* Fix typo in commentFederico Bond2017-01-181-1/+1
|
* Merge pull request #1581 from ethereum/fixosxchriseth2017-01-181-2/+2
|\ | | | | Fix JSON output on macos.
| * Fix JSON output on macos.chriseth2017-01-181-2/+2
| |
* | Merge pull request #1397 from roadriverrail/contract_collisionchriseth2017-01-182-1/+1
|\ \ | |/ |/| Error out when contracts collide on name
| * Move fullyQualified() name to DeclarationRhett Aultman2017-01-172-10/+1
| |
| * Stylistic correctionsRhett Aultman2017-01-171-1/+1
| |
| * Drop ':' if the source file name is emptyRhett Aultman2017-01-171-1/+2
| | | | | | | | | | | | | | | | A large number of tests compile contracts while passing in an empty string for the source name. This leads to it being keyed by the name ":<contract>", while the tests try to look it up under the name "<contract>". This change resolves that issue by dropping the ':' in cases where there is, effectively, no source file to prepend anyway.
| * Only avoid collision if it's the same fileRhett Aultman2017-01-172-0/+8
| | | | | | | | | | | | | | | | | | @chriseth had suggested that it would be better if contracts were referenced in a file:contract notation, and that we output .bin files that prepend original path names if necessary to avoid a collision. This commit is mostly a draft; it still needs to be run through the test suite.
* | Deterministic AST node identifiers.chriseth2017-01-173-2/+8
|/
* ast: events have FunctionType tooYoichi Hirai2017-01-122-8/+17
|
* ast: add Declaration::functionType()Yoichi Hirai2017-01-122-0/+73
|
* ast, codegen: enable accessing events through contract names.Yoichi Hirai2017-01-031-0/+3
| | | | Fixes #1286
* Merge pull request #1503 from federicobond/json-visibilityYoichi Hirai2016-12-152-7/+22
|\ | | | | Include visibility level for functions in AST
| * Include visibility level for functions in ASTFederico Bond2016-12-132-7/+22
| |
* | Merge pull request #1487 from ethereum/shift-opsYoichi Hirai2016-12-141-0/+32
|\ \ | | | | | | Shift operators
| * | Cleaner shift handling and type conversion for binary operations.chriseth2016-12-121-30/+20
| | |
| * | Type after shift should be type of left operand.chriseth2016-12-121-5/+42
| | |
| * | Support bitshifting in variablesAlex Beregszaszi2016-12-121-0/+5
| |/
* / Improve error message when trying to modify constant variablesFederico Bond2016-12-131-0/+2
|/
* Merge pull request #1464 from federicobond/warn-msgvaluechriseth2016-12-111-0/+2
|\ | | | | Warn about using msg.value in non-payable function
| * Warn about using msg.value in non-payable functionFederico Bond2016-12-091-0/+2
| |
* | Fix names of JSON AST nodesFederico Bond2016-12-111-2/+2
|/
* Add swarm hash to the end of the bytecode.chriseth2016-12-011-0/+1
|
* Metadata stamp.chriseth2016-12-012-0/+12
|
* Rename dev::validate to dev::validateUTF8Alex Beregszaszi2016-11-292-3/+3
|
* Make position optional in dev::validateAlex Beregszaszi2016-11-292-4/+2
|
* Indentation.chriseth2016-11-251-1/+1
|
* ast: string literals that are not valid UTF are not convertible to stringsYoichi Hirai2016-11-252-1/+10
|
* Fix licensing headersVoR02202016-11-2315-60/+60
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Some more assertions and style changes.chriseth2016-11-161-16/+25
|
* Change encoding to address-funid and add "function" as ABI type.chriseth2016-11-163-3/+9
|
* Check that no internals are used in any external function type.chriseth2016-11-162-0/+28
|
* Disallow payable internal functions.chriseth2016-11-161-1/+3
|
* delete for function typeschriseth2016-11-162-0/+8
|
* Change alignment.chriseth2016-11-161-1/+1
|
* Changelog entry and small fixes.chriseth2016-11-162-5/+8
|
* Fix some type checks and tests for internal / external function parameters.chriseth2016-11-161-3/+3
|
* Code generator for function types.chriseth2016-11-162-1/+12
|
* Function types.chriseth2016-11-1610-6/+159
|
* Move InterfaceHandler from string to JSONAlex Beregszaszi2016-11-152-10/+11
|
* Print canonical names of structs and enums in ASTAlex Sinyagin2016-11-141-2/+2
|
* ast, codegen: disallow conversion between different enum typesYoichi Hirai2016-11-121-1/+1
|
* ast: add EnumType::numberOfMembers()Yoichi Hirai2016-11-122-1/+7
|
* Type checker: move the burden of computing mobile type to commonTypeYoichi Hirai2016-11-111-4/+4
| | | | This solves #621
* Add support for do/while loopsRhett Aultman2016-11-103-4/+12
| | | | | | | This commit adds support for a standard do <statement> while <expr>; form of statement. While loops were already being supported; supporting a do/while loop mostly involves reusing code from while loops but putting the conditional checking last.
* add payable to ASTyann3002016-11-031-1/+2
|
* ast: ban signed EXP, fixing #1246Yoichi Hirai2016-10-251-1/+4
|
* More checks for missing mobile type.chriseth2016-10-241-2/+14
|
* Fix crash in throw.chriseth2016-10-241-1/+1
|
* Merge pull request #1240 from ethereum/1151chriseth2016-10-241-1/+5
|\ | | | | ast: super contract type does not contain native members
| * ast: simplifications suggested by @chrisethYoichi Hirai2016-10-201-7/+4
| |
| * When a contract type is super, its members do not contain the functions of ↵Yoichi Hirai2016-10-201-1/+8
| | | | | | | | | | | | itself Fixes #1151
* | ast: add a null checkYoichi Hirai2016-10-211-0/+1
| |
* | ast: ContractDefinition::inheritableMembers contains enums as well as structsYoichi Hirai2016-10-211-0/+3
| | | | | | | | This fixes #1131
* | Support variable references within modifiers for inline assemblyAlex Beregszaszi2016-10-211-1/+1
|/
* Use >> (SAR) to denote constant shiftsAlex Beregszaszi2016-10-201-1/+3
|
* Reject negative shifts within constantsAlex Beregszaszi2016-10-201-4/+8
|
* Support shifting constantsRJ2016-10-201-0/+22
|
* Omit non-convertible bound functionsAlex Beregszaszi2016-10-191-1/+2
|
* Ensure that bound functions cannot be defined without self typeAlex Beregszaszi2016-10-192-2/+11
|
* `super`'s size on stack is zero, because the expression compiler does not ↵Yoichi Hirai2016-10-181-0/+1
| | | | | | push an address. This is different from `this`, which is translated to `ADDRESS` instruction.
* Check if a fixedBytes fits an integer typeYoichi Hirai2016-10-141-1/+5
| | | | | | before looking up the size of the integer type. Fixes #1150.
* Rename dev::sha3 to dev::keccak256Alex Beregszaszi2016-10-062-2/+2
|
* Include assert for selfType on bound functions to avoid crashAlex Beregszaszi2016-09-071-1/+2
|
* Merge pull request #665 from axic/feature/accept-etherchriseth2016-09-063-31/+91
|\ | | | | BREAKING: Add payable modifier
| * Change function type to include and propagate payable and constant modifier.chriseth2016-09-062-18/+68
| |
| * Merged in changes from chriseth/payableAlex Beregszaszi2016-09-061-14/+17
| |
| * Support payable keyword for functionsAlex Beregszaszi2016-09-063-0/+7
| |
* | Do not emit non-utf8 strings for ast json.chriseth2016-09-021-2/+15
|/
* Version pragma.chriseth2016-09-018-0/+74
|
* JSON AST: Some attribute cleanup. Add linearized base contracts.chriseth2016-08-192-36/+35
|
* Rename root AST JSON node to SourceUnitAlex Sinyagin2016-08-181-1/+1
|
* Do not add children to EnumValue and PlaceholderStatement elements in JSON ASTAlex Sinyagin2016-08-181-4/+2
|
* Use the full names for JSON AST nodesAlex Sinyagin2016-08-181-11/+11
|
* Move creation of the root element of JSON AST to the SourceUnit visitorAlex Sinyagin2016-08-182-5/+18
|
* Add ast json converter for PlaceholderStatementAlex Sinyagin2016-08-182-0/+13
|
* Add ast json converter for ArrayTypeNameAlex Sinyagin2016-08-182-0/+13
|
* Add ast json converter for ModifierInvocation and EventDefinitionAlex Sinyagin2016-08-182-0/+26
|
* Add ast json converter for ModifierDefinitionAlex Sinyagin2016-08-182-0/+13
|
* Add ast json converter for EnumValueAlex Sinyagin2016-08-182-0/+13
|
* Add ast json converter for EnumDefinitionAlex Sinyagin2016-08-182-0/+13
|
* Add ast json converter for UsingForDirectiveAlex Sinyagin2016-08-182-1/+14
|
* Add a ast json converter for InheritanceSpecifierAlex Sinyagin2016-08-182-0/+13
|
* Merge pull request #844 from Denton-L/remove-afterchriseth2016-08-121-3/+2
|\ | | | | BREAKING: Remove after
| * Remove After from Types.cppDenton Liu2016-08-111-3/+2
| |
* | Fix Mapping and InlineAssembly in JSON ASTAlex Sinyagin2016-08-121-0/+2
| |
* | Fix JSON AST structureAlex Sinyagin2016-08-121-0/+1
|/
* Merge pull request #794 from chriseth/fixastsourcechriseth2016-08-102-3/+3
|\ | | | | Fix segfault in ast output.
| * Fix segfault in ast output.chriseth2016-08-092-3/+3
| |
* | Remove dev::utf8 namespaceAlex Beregszaszi2016-08-091-1/+1
| |
* | Use size_t in dev::utf8::validate()Alex Beregszaszi2016-08-091-1/+1
| |
* | Use utf8::validate in StringLiteral::toStringAlex Beregszaszi2016-08-091-0/+6
| |
* | Move LiteralString::toString from the headerAlex Beregszaszi2016-08-092-1/+6
|/
* Source location as part of AST.chriseth2016-07-212-56/+83
|
* Inaccessible dynamic typeschriseth2016-06-022-17/+29
|
* Fixes for invalid cleanups for small types.chriseth2016-05-202-14/+0
|
* updated docsVoR02202016-05-191-4/+13
| | | | | | types reference
* explicit conversion and loosening of binary operations on integer and fixed ↵VoR02202016-05-191-24/+11
| | | | | | point types...still other problems fixed some spaces and deleted lines from failing test
* current debugging infoVoR02202016-05-191-2/+20
|
* Remove unused tests and add asserts for not implemented parts in code ↵chriseth2016-05-112-5/+4
| | | | | | | | | | | | generation. quick fix on christian's rational change so that ubuntu will stop yelling be more specific with rational declaration for Windows sake rational in namespace correction for windows
* Simplify interface of RationalNumber.chriseth2016-05-112-16/+17
|
* Special case for moving sign bit to fractional part.chriseth2016-05-111-5/+10
|
* Cleanup.chriseth2016-05-111-14/+19
|
* Disallow explicit fixed->enum, but allow bytes->fixed.chriseth2016-05-111-1/+1
|
* Some cleanup.chriseth2016-05-112-60/+32
|
* Replace "unsigned int" by "unsigned".chriseth2016-05-111-9/+9
|
* Prefer mobileType() to check rational range.chriseth2016-05-112-10/+5
|
* reorganized tests and fixed mobile types and implicit conversions of ↵VoR02202016-05-101-80/+85
| | | | | | | | rationals and fixed point types one final tweak check for null types
* updated algorithm for bit finding...now to figure out literal valueVoR02202016-05-102-126/+85
| | | | | | | | | | | | tiny fixups changed location of the check got rid of extra space and fixed a couple of things added binary results bits change back literal value
* changed algorithm for finding bitsVoR02202016-05-101-29/+37
|
* much better way of doing modulusVoR02202016-05-101-8/+2
|
* added bytes conversion tests, resolved that, converted to binary scaling, ↵VoR02202016-05-102-60/+69
| | | | | | | | | | | | refactored the find algo to prevent large numbers and take into account integer bytes think we're good on solidity type name resolution now removed couts updates to documentation and more removed couts along with literal value implementation forgot semicolons
* fixing modulus and Solidity Name and Type ResolutionVoR02202016-05-102-11/+9
| | | | | | minor fixes current attempts at binary fixup
* changed names for Rational Constants and categoriesVoR02202016-05-102-28/+32
|
* currently what we haveVoR02202016-05-101-4/+8
|
* got exponents up and working with their inverse, changed a few of the ↵RJ Catalano2016-05-102-37/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing infinite loop still happening but it's somewhere in the fixedPoint methodd fractional bits needed algo improved! Eliminated 2 errors Corrected problems with the previous commit. No infinite loops. Actually appear to have corrected an error
* size capabilities functioning properly for fixed typesRJ Catalano2016-05-101-9/+4
|
* fixed problem with var...probably a conversion problem for fixed in size ↵RJ Catalano2016-05-101-1/+1
| | | | | | | | capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together
* Rational implemented...trying to figure out exponentialRJ Catalano2016-05-101-52/+15
|
* initial work for fixed types...potentially needing a constant literal type ↵RJ Catalano2016-05-102-80/+461
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for this notation Rational implemented...trying to figure out exponential fix for token bug, also quick fix for the wei and seconds fixed problem with var...probably a conversion problem for fixed in size capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together size capabilities functioning properly for fixed types got exponents up and working with their inverse, changed a few of the tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing initial work for fixed types...potentially needing a constant literal type for this
* Allow calling internal functions of libraries.chriseth2016-05-041-26/+41
| | | | | | | | | | | | Internal functions of libraries can be called as if the library were a base contract of the calling contract. As the calling convention for internal functions is to not create a new call context, the code of these functions will be pulled into the context of the caller, duplicating their code. This might pull in code of further internal or even private functions. The use case for such functions is to allow libraries which can operate on memory types such that these types can also be modified in place.
* Remove log.h from solidity.chriseth2016-04-121-0/+1
|
* move libevmcore to solidityDimitry2016-04-021-1/+1
|
* Code generation (missing external access and source locations).chriseth2016-03-303-5/+28
|