Christian
e1338c7e6c
Arbitrary precision integer constants.
10 years ago
Christian
1d3801f726
Arbitrary precision integer constants.
10 years ago
Lefteris Karapetsas
6d098faab0
style: curlies
10 years ago
Lefteris Karapetsas
631bd9ab38
Fix for sol scanner where empty multiline comment became Natspec comment
10 years ago
Lefteris Karapetsas
49f60a1d6d
Factoring forward slash scanning out to its own function
10 years ago
Lefteris Karapetsas
7359367441
More multiline natspec tests and small issue fix
10 years ago
Lefteris Karapetsas
0b5b6c7cd4
Adressing some natspec issues
10 years ago
Lefteris Karapetsas
30beaca359
Changes in InterfaceHandler to deal with multiline natspec
- Also now Solidity scanner considers Carriage Return as whitespace
- Tests for Natspec generation with the new multiline comments
10 years ago
Lefteris Karapetsas
61a1f4436c
Scanner properly scans multiline natspec comments
- Single and multiline natspect comments get the initial whitespace
skipped now
- Some rules introduced for the multiline comments. If first line is
empty then no newline is added to the literal. Same thing with the
last line. Finally in all lines initial '*' are skipped
10 years ago
Lefteris Karapetsas
6d48f3e987
Work in progress for /** ... */ natspec comments
- Work in progress on the scanner for recognizing the second
type of doxygen comments for Natspec.
10 years ago
Christian
46664c44b3
Assertions that throw InternalCompilerErrors.
10 years ago
Christian
04c8d8bdc0
Improved external interface for multi-source and multi-contract compilation.
10 years ago
Christian
50b61e3dd3
Multi-source and multi-contract compiler.
10 years ago
Christian
735fdf72a1
Comments for the TOKEN_LIST usage.
10 years ago
Christian
53608c9d77
Cleanup of scanner.
Removed redundancy of keyword definitions and removed some unused token
predicates.
10 years ago
Lefteris Karapetsas
6e0839efe3
simplifying Scanner::reset()
10 years ago
Lefteris Karapetsas
87c58e4866
Moving LiteralScope to Scanner.cpp
10 years ago
Lefteris Karapetsas
eb5369d6f2
Simplifying scanning for natspec documentation
- Scanner no longer remembers the last natspect comment until
a new one is encountered. It remembers it only until the next
scan()
10 years ago
Lefteris Karapetsas
170ff1a07f
Fixing multiline comment parsing in solidity
10 years ago
Lefteris Karapetsas
e5da1ba6c6
Solidity work for documentation strings
- Still a work in progress
- Parser now properly gets each function's doc comment
- Small changes in the scanner
- Multiline comments are considered
10 years ago
Christian
638960f22f
Contracts as types and framework for special global variables.
10 years ago
Lefteris Karapetsas
86e5a3bb48
no c_ prefix for const parameter names
10 years ago
Lefteris Karapetsas
d455d6f651
modifying solidity scanner class to conform with the coding standards
10 years ago
Lefteris Karapetsas
7f959f1292
simplifying scanDocumentationComment()
10 years ago
Lefteris Karapetsas
babddd394e
cleaning up the external interface of Scanner::next(). No special cases
10 years ago
Lefteris Karapetsas
03f8208b6b
styling fixes
10 years ago
Lefteris Karapetsas
be1d8881af
documentation comments are now always skipped but saved as special tokens at the Scanner
10 years ago
Lefteris Karapetsas
0c101d89f8
solidity scanner takes triple slash doc comments into account
- Conditionally scanning for the documentation comments and gettings their
contents.
- Adding tests for this functionality of the scanner
10 years ago
Christian
1b9e014374
Support for negative literals.
10 years ago
Christian
d8ad4f5910
Keywords for all integer types.
10 years ago
Christian
37216a246a
Converted all asserts to exceptions.
10 years ago
Christian
adcf062367
Actual contract creator and add solidity to AlethZero interface.
10 years ago
Christian
fd7fc4293e
Removed std:: where it made sense.
10 years ago
Christian
62ca0b2b43
Replace BOOST_ASSERT by assert.
10 years ago
Christian
cf2cc8e8ba
Cleanup of copyright headers.
10 years ago
Christian
fa22722e0e
Pointer type cleanup: Use ASTPointer only for AST nodes and shared_ptr for type
pointer.
10 years ago
Christian
c253a90fc4
Coding style cleanup: const and vecptr.
10 years ago
Christian
43bb41ef19
Keyword cleanup
10 years ago
Christian
116070f304
Coding style and cleanup
10 years ago
Christian
68a85f4f80
Corrected coding style.
10 years ago
Christian
3fd9358c3e
Corrected indentation.
10 years ago
Christian
4c1739169a
Parse everything up to function bodies and report parser errors with location.
10 years ago
Christian
961327ee7d
Solidity parser, can not parse much yet.
10 years ago
Christian
2d50851ea3
Solidity scanner and some unit tests.
The scanner is a modified version of the v8 javascript scanner.
10 years ago