by dockimbel · 8y ago · 0 comments
Red []
page: read https://www.red-lang.org/2018/01/red-here-we-go.html
parse page [
thru "Private investors" thru "(" copy angels to ")"
thru "open rounds" thru "(" copy public to ")"
thru "Private Investors" thru ">" copy angels-price to "RED"
thru "Open round" thru ">" copy public-price to "RED"
]
angels: to-integer trim/with angels ","
public: to-integer trim/with public ","
result: (angels / load angels-price) + (public / load public-price)
view [
title "Token Sales Result"
below
text 300 "And the (upper) bound sales result (in eth) is:"
h1 300 center bold beige beige rate 5 data result
on-time [
ff: face/font
repeat c 3 [ff/color/:c: ff/color/:c - pick 4.2.3 c]
if ff/color = black [face/rate: none]
]
]
This short example relies on two eDSL, one for parsing data, one for building a GUI. Such built-in features (not requiring any library) shouldn't be that bad for an "incomplete" language, right?In a very real sense, we can't think of "money raised" in terms of a country's legal tender (what cryptos call 'fiat currency'). Remember, cryptocurrencies have no jurisdiction. You can see how much ETH was raised, but what that really tells you, we hope, is how much investment interest there was, based on the technology backing the project.
[1] : https://www.red-lang.org/2018/01/red-token-sale-success.html
Let's say it made money/ETH--and even if a program in the language can print out a message saying it did. What does this have to do with your assessment of the technology, or its completeness or incompleteness?