mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2022-11-27, 22:22   #1
silvio
 
Nov 2022

1116 Posts
Default What is that .w file?

while compiling yafu2 in MSVC, I have an insurmoumtable problem with siever-config.w of lasieve5_64 project.
MSVC attempt compiling as it were a .c file! and reports more than 700 errors. Could anyone shed a light?
TIA
silvio is offline   Reply With Quote
Old 2022-11-28, 00:26   #2
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

89×113 Posts
Default

.w files are legacy files - the author of the sieve wrote his code in CWEB (Don Knuth's) language. This language allows to write and document the code simultaneously. It is quite rarely used these days.

You can use ctangle to extract C code (and then compile it), and optionally cweave to get the documentation out.
Batalov is offline   Reply With Quote
Old 2022-11-28, 08:06   #3
silvio
 
Nov 2022

218 Posts
Default

Quote:
Originally Posted by Batalov View Post
.w files are legacy files - the author of the sieve wrote his code in CWEB (Don Knuth's) language. This language allows to write and document the code simultaneously. It is quite rarely used these days.

You can use ctangle to extract C code (and then compile it), and optionally cweave to get the documentation out.
Thanks! I'll try to do the port t c
silvio is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
lowm.txt file ET_ Factoring 2 2010-11-03 11:43
P-1 File Name Bug NBtarheel_33 Software 2 2010-06-06 08:29
Dat File? Xentar Sierpinski/Riesel Base 5 10 2008-06-23 02:09
FILE vs. MDB HiddenWarrior Software 1 2004-02-19 04:38
How to change Pxxxx.001 file to Pxxxx file? edorajh Software 3 2003-12-31 12:30

All times are UTC. The time now is 07:20.


Sun Feb 5 07:20:10 UTC 2023 up 171 days, 4:48, 1 user, load averages: 0.85, 0.97, 1.05

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔