https://github.com/lwflouisa/maisette
A demonstration of Maisette, a DSL of Ruby.
https://github.com/lwflouisa/maisette
cettemaisettesinon parallelconditionals ruby
Last synced: 9 months ago
JSON representation
A demonstration of Maisette, a DSL of Ruby.
- Host: GitHub
- URL: https://github.com/lwflouisa/maisette
- Owner: LWFlouisa
- License: mit
- Created: 2025-08-17T16:59:10.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-17T17:19:48.000Z (11 months ago)
- Last Synced: 2025-08-17T18:29:51.088Z (11 months ago)
- Topics: cettemaisettesinon, parallelconditionals, ruby
- Homepage:
- Size: 637 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Maisette
A demonstration of combining Maisette with getting statistics using my AI system.
## Version
Ruby 3.2.3
## Usage
~~~ruby
a1 = :pomme_rouge_vert
a2 = cette("pomme", "rouge-vert")
b1 = :pomme_rogue_jaune
b2 = maisette("pomme", "rouge-jaune")
c1 = :pomme_rogue_ou_vert
c2 = sinon("pomme", "rouge", "vert")
get_statistics(a1, a2,
b1, b2,
c1, c2)
reasses
reasses
reasses
reasses
puts $current_information
puts $current_probability
representation = [ $current_probability, $current_information ]
puts "For #{representation[0]} of #{representation[1]}: #{4.times do reasses end}"
~~~
## Output
~~~
The probability is either to low or to large, so I can't determine exactly.
I'm confident it is not [ pomme_rogue_ou_vert Sinon pomme es ne rouge ou vert. ].
pomme_rogue_ou_vert Sinon pomme es ne rouge ou vert.
0.14374800000000001
~~~