Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Greeter in LLL (untested!) #397

Merged
merged 1 commit into from
Dec 5, 2017
Merged

Conversation

veox
Copy link
Contributor

@veox veox commented Dec 3, 2017

What was wrong?

Nothing; everything is fine.

What's this about then?..

I'd like to develop a project in LLL. I like Populus. Having a greeter contract seems like a logical first step. So - here's one.

As to the rest: there's no simple way to generate "web3-friendly" ABI from LLL sources (yet), which seems to be required to feed the compiler backend.

Therefore, this file has been extracted from my lll branch as-is.

Cute Animal Picture

Brown surgeonfish, a low-trophic-level aquatic animal. (Image source article.)

brown surgeonfish next to coral reef, seemingly eating

There's no simple way to extract ABI from LLL sources. In fact,
LLL does not burden itself with such extravagance as human-readable
function names.

Therefore, this file has been extracted from my `lll` branch as-is.
@veox
Copy link
Contributor Author

veox commented Dec 3, 2017

lllc is able to compile this; what's "untested" is interaction with the contract on-chain.

@veox veox mentioned this pull request Dec 5, 2017
Copy link
Member

@pipermerriam pipermerriam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contract looks fine. I'm good merging this into the codebase for now. I'd be interested in adding support to $ populus init for something like a --lll or --serpent flag which determined the initial compiler settings and which type of greeter contract was seeded.

@pipermerriam pipermerriam merged commit c9007b1 into ethereum:master Dec 5, 2017
veox added a commit to veox/populus that referenced this pull request Dec 8, 2017
Will allow easier `populus init --lll`, which was proposed
in PR ethereum#397.
veox added a commit to veox/populus that referenced this pull request Dec 11, 2017
Will allow easier `populus init --lll`, which was proposed
in PR ethereum#397.
@veox veox deleted the lll-greeter branch November 22, 2018 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants