Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Allow qualified names for function calls, variable access, contract instantiation #465

Closed
3 tasks done
jeromesimeon opened this issue Sep 29, 2018 · 1 comment
Closed
3 tasks done

Comments

@jeromesimeon
Copy link
Member

jeromesimeon commented Sep 29, 2018

At the moment, only type/new objects get parsed as (possibly) qualified names. All functions, contracts and constant should be resolved qualified names and imported.

  • Functions
  • Contracts
  • Constants
@jeromesimeon jeromesimeon self-assigned this Sep 29, 2018
@jeromesimeon jeromesimeon added this to In progress in Contract Modularity Sep 29, 2018
@jeromesimeon
Copy link
Member Author

jeromesimeon commented Sep 30, 2018

In PR #466

$ ./bin/ergotop examples/helloworld/model.cto examples/helloworld/logic.ergo examples/promissory-note/money.ergo 
Welcome to ERGOTOP version 0.4.3
ergo$ set contract ~org.accordproject.helloworld.HelloWorld over ~org.accordproject.helloworld.TemplateModel{ name : "Fred Blogs" }
ergo$ return ~org.accordproject.ergo.money.compoundInterestMultiple(3.5, 100.0)
Response. 1.50994918677 : Double

@irmerk irmerk added this to Issue (Triaged) in Full Contract Support via automation Jul 19, 2019
@jeromesimeon jeromesimeon moved this from Issue (Triaged) to Issue (Priority: High) in Full Contract Support Jul 20, 2019
@jeromesimeon jeromesimeon added this to Open Issues in Ergo + Cicero v0.20 Sep 27, 2019
@jeromesimeon jeromesimeon moved this from Open Issues to In Progress Issues in Ergo + Cicero v0.20 Sep 27, 2019
@jeromesimeon jeromesimeon removed the 0.20 label Oct 30, 2019
@jeromesimeon jeromesimeon removed this from In Progress Issues in Ergo + Cicero v0.20 Oct 30, 2019
Full Contract Support automation moved this from Issue (Priority: High) to Finished Issue Nov 15, 2019
@jeromesimeon jeromesimeon added this to Finished Issues in Ergo + Cicero v0.20 Nov 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Contract Modularity
  
In progress
Full Contract Support
  
Finished Issue
Ergo + Cicero v0.20
  
Finished Issues
Development

No branches or pull requests

1 participant