Comments (13)
We are looking into a way to make all functions in a module have a set of properties.
// Make all functions in this module @nogc and @system
default fn : @nogc @system;
@property
is planned to be replaced with C# style properties
@safe
is planned to be default
pure
I'm not sure is needed in Volt
override
will stay, it catches errors, maybe shorten the keyword. ovrd
or something else.
@nogc
will also stay, but with the default attribute per module shouldn't be that troublesome.
from volta.
hi,
i was tipped to your project. I am trying to find some thing for me just as D1 and i am glad to see that you guys get rid of that @ - eye cancer. do have a time frame on when the compiler will be compiles downloadable as an exe for windows x64?
thanx
from volta.
Thanks!
Short answer in a couple of months you will be able to just install a VSCode extension and that would be that.
We have a CI that builds all of the needed executables (for windows) so if you feel adventures you can download battery and volta from there and have that work now. And using some manual work to get the VSCode extension working.
If you are IRC I recommend poking us in #volt on FreeNode. Or on one of the Twitter accounts @Wallbraker or @VoltLang. I would be happy to do some hand holding getting you setup.
from volta.
thanks for the answer. will download and use.
from volta.
https://ci.volt-lang.lv/ - doesn't work
from volta.
Oh it's on https://ci.walkyrie.se/
from volta.
thanks
from volta.
sorry for that, but where do i get llvm.dll or otheres in case they are needed?
thanks in advance for your patience.
from volta.
Oh right, LLVM still doesn't ship a LLVM.dll
file so you will need to build one yourself. Using the LLVM_BUILD_LLVM_C_DYLIB option should give you one, I don't have one laying around right now.
Sorry for this being so hard to setup. We have been poking the LLVM project for longer then a year and we only got it as far as them at least adding a switch to build a LLVM.dll
.
from volta.
ok, will do
from volta.
Oh make sure it's 64bit as we only support 64bit on windows.
from volta.
If I could be forgiven some bikeshedding, I would like to be rid of the @ syntax for keywords entirely. If we need a keyword, we should add it. There's some stuff we could also clean up in regards to namespace issues -- we currently disallow member functions called 'init', as T.init
gives you the default initialiser. Maybe this would be heresy, but we could just use T.default
for that purpose, and get rid of that. Otherwise, making init a keyword would be my preference, but I don't see a reason we couldn't just appropriate default
for that purpose.
from volta.
Oh make sure it's 64bit as we only support 64bit on windows.
yes
I would like to be rid of the @ syntax for keywords entirely
If we need a keyword, we should add it. There's some stuff we could also clean up in regards to namespace issues -- we currently disallow member functions called 'init', as T.init gives you the default initialiser. Maybe this would be heresy, but we could just use T.default for that purpose, and get rid of that. Otherwise, making init a keyword would be my preference, but I don't see a reason we couldn't just appropriate default for that purpose.
from volta.
Related Issues (20)
- Volt vs D HOT 7
- Volt site CMS HOT 1
- Safe int HOT 2
- take ideas from Julia and Nim languages HOT 12
- Does Volta need foreach_revese? HOT 6
- Change logical operators to word HOT 1
- Feature modular/configurable runtime HOT 6
- Why is separating class ind struct is bad? HOT 6
- Ideas, queries and issues HOT 5
- Coming from D guide HOT 9
- About Volta web site
- Pattern matching HOT 1
- Distribute the compiler with all dll that are needed HOT 1
- error: No valid LLVM Toolchains found! HOT 5
- is Volt development stopped ? HOT 2
- Build failed (macOS) [can be fixed] HOT 9
- Volt is BROKEN and should be fixed HOT 2
- main.volt:1:1: error: can't find module 'core.compiler.defaultsymbols'.
- error while building hello file from Getting Set Up HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from volta.