View previous topic :: View next topic |
Author |
Message |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Jan 2nd, 2016, 4:12pm Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
ViviFire.chm 164.2 KB- Removes the BEGIN statement.
- Gives a preview of the new syntaxes for NEW and PROPERTY.
- Many other additions/changes that I can't remember.
_________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Aug 6th, 2015, 8:46am Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
VF.exe 637 KB- Adds new forms for Method and Function to be used in conjunction with traits intended to permit renaming imported names that might conflict, and also to change their visibility.
- Changes the keyword used by Sub from Does to Handles to reduce the amount of overloading of Does.
- Traits can now be better genericized.
Code: | Trait MyTrait
Method MyPoorName(arg)
End Method
End Trait
Class MyClass Does MyTrait
Method MyBetterName Does MyTrait.MyPoorName
End Class |
_________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Jul 29th, 2015, 7:17am Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
VF.exe 635.5 KB- Changes the char literal. For example, both `A and `A` evaluate to 65, both ` ` and `SPC evaluate to 32.
- Improves the string literal, now permitting """Data Files"/"My Data.dat""", which would evaluate to "Data Files\My Data.dat" on Windows.
- Improves handling of malformed string literals.
- Reduces the character set for metacharacters and metastrings, which has the side effect of reducing the size of the EXE.
_________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Jul 23rd, 2015, 5:03am Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
VF.exe 679 KB- Changes the type characters for most numeric types.
- Instead of representing the size in bytes, the number following % is now the size in bits: tiny%8, short%16, integer%32, long%64, huge%128.
- You can now specify signed: tiny%s8, short%s16, integer%s32, long%s64, huge%s128
- or unsigned: byte%u8, ushort%u16, uinteger%u32, ulong%u64, uhuge%u128
- Instead of representing the size in bytes, the number after # now represents the floating-point precision: single#1, double#2, quad#4.
ViviFire.chm 160.9 KB- Mostly reflects the changes from above.
_________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Jul 15th, 2015, 5:01pm Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
VF.exe 668.5 KB- Changes '@Deprecate name "message" to a directive
@Deprecate message - Improves errors for empty Begin and Enum declarations.
_________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Jul 7th, 2015, 4:13pm Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
VF.exe 668.5 KB- Changes Property's "!" option to a "Does" clause.
- Changes the getter and setter syntax to use new keywords "Get" and "Set" instead of the (possibly) non-obvious user-defined labels.
- Changes the Unit statement's use of a hyphen for declaring SI units to a user-defined label inside parentheses.
ViviFire.chm 160.5 KB- Mostly reflects the changes mentioned above.
VFTest.zip 15.2 KB- Reflects the changes from above.
Download the full package ~500 KB- Still experimental. Currently does not include the test suite.
Code: | ' Formerly: Property ! example As String
' Currently:
Property example As String Does Get, Set
On Get
' return something
On Set value
' change something
End Property |
Code: | ' Formerly: Unit -meter(s) metre(s) m
' Currently:
Unit (SI) meter(s) metre(s) m |
_________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Jun 19th, 2015, 4:25am Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
ViviFire.chm 159.3 KB
NOTE: If Windows warns you when opening this file, uncheck the checkbox to prevent viewing problems. _________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Jun 15th, 2015, 9:29pm Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
VF.exe 667 KB- For Each now accepts array literals.
Code: | For Each dog$ In {"Benji", "Lassie", "Rin Tin Tin"}
#out dog$;" says hello"$NL
End For | Improves error messages for malformed Select and Struct declarations. _________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Jun 4th, 2015, 9:31pm Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
VF.exe 667.5 KB- Classes can contain Event members.
- Begin declarations can use generics.
- Changes the syntax of traits from
Trait name Is traitList to Trait name Does traitList
If you want to contribute, you can pull the code from GitHub. _________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Apr 9th, 2015, 6:57pm Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
VF.exe 667 KB- Makes #Base, #Null, and #Self true keywords.
_________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Feb 20th, 2015, 9:07pm Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
ViviFire.chm 158.2 KB- Mostly adds more under "Declared Element Characteristics."
_________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Dec 3rd, 2014, 7:46am Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
VF.exe 667 KB- Changes generic property syntax, moving the type list to after the property's name to be consistent with other statements.
Code: |
' Formerly
Property [T]MyProperty As T
' Currently
Property MyProperty[T] As T |
_________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Oct 20th, 2014, 6:02pm Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
ViviFire.chm 153.3 KB- Mostly cleanup to existing articles; in particular, the assignment operators.
- Flattens the Language Reference tree a bit.
NOTE: If Windows warns you when opening this file, uncheck the checkbox to prevent viewing problems. _________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Oct 8th, 2014, 12:10am Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
VF.exe 666 KB- Adds a '@Deprecate pragma to mark declarations as deprecated. See the help article for more info.
- Adds inner classes, i.e. classes within classes.
ViviFire.chm 154 KB- Mainly reflects the changes mentioned above.
_________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 790
|
Posted: Sep 24th, 2014, 9:17pm Post subject: Re: New ViviFire releases. |
|
|
New files replace old ones.
VF.exe 665 KB- Changes the syntax for accessing methods and properties from whitespace to the dot (.).
- Changes the meaning of the exclamation point from method call to key access.
- See the example code below.
ViviFire.chm 151.4 KB- Mainly reflects the changes mentioned above.
VFTest.zip 18 KB- No longer needs to create a temp file.
- Now displays the error message that caused a test to fail.
Example Code: | For Each #row In #db.#nextrow()
If #row!age >= MINIMUM_AGE Then #list.add(#row!name$)
End For |
_________________ Brent |
|
Back to top |
|
 |
|